mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-22 00:33:57 +08:00
Removed unnecessary backslash in regex
This commit is contained in:
parent
0ae6818675
commit
8954b07458
3 changed files with 3 additions and 3 deletions
|
@ -61,7 +61,7 @@ export function getInputAsArray(
|
|||
return core
|
||||
.getInput(name, options)
|
||||
.split("\n")
|
||||
.map(s => s.replace(/^\!\s+/, "!").trim())
|
||||
.map(s => s.replace(/^!\s+/, "!").trim())
|
||||
.filter(x => x !== "")
|
||||
.sort();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue