mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-12-24 11:35:54 +00:00
Removed unnecessary backslash in regex
This commit is contained in:
parent
0ae6818675
commit
8954b07458
3 changed files with 3 additions and 3 deletions
2
dist/restore/index.js
vendored
2
dist/restore/index.js
vendored
|
@ -37662,7 +37662,7 @@ function getInputAsArray(name, options) {
|
|||
return core
|
||||
.getInput(name, options)
|
||||
.split("\n")
|
||||
.map(s => s.replace(/^\!\s+/, "!").trim())
|
||||
.map(s => s.replace(/^!\s+/, "!").trim())
|
||||
.filter(x => x !== "")
|
||||
.sort();
|
||||
}
|
||||
|
|
2
dist/save/index.js
vendored
2
dist/save/index.js
vendored
|
@ -37662,7 +37662,7 @@ function getInputAsArray(name, options) {
|
|||
return core
|
||||
.getInput(name, options)
|
||||
.split("\n")
|
||||
.map(s => s.replace(/^\!\s+/, "!").trim())
|
||||
.map(s => s.replace(/^!\s+/, "!").trim())
|
||||
.filter(x => x !== "")
|
||||
.sort();
|
||||
}
|
||||
|
|
|
@ -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…
Reference in a new issue