mirror of https://github.com/actions/cache.git
Removed unnecessary backslash in regex
parent
0ae6818675
commit
8954b07458
|
@ -37662,7 +37662,7 @@ function getInputAsArray(name, options) {
|
||||||
return core
|
return core
|
||||||
.getInput(name, options)
|
.getInput(name, options)
|
||||||
.split("\n")
|
.split("\n")
|
||||||
.map(s => s.replace(/^\!\s+/, "!").trim())
|
.map(s => s.replace(/^!\s+/, "!").trim())
|
||||||
.filter(x => x !== "")
|
.filter(x => x !== "")
|
||||||
.sort();
|
.sort();
|
||||||
}
|
}
|
||||||
|
|
|
@ -37662,7 +37662,7 @@ function getInputAsArray(name, options) {
|
||||||
return core
|
return core
|
||||||
.getInput(name, options)
|
.getInput(name, options)
|
||||||
.split("\n")
|
.split("\n")
|
||||||
.map(s => s.replace(/^\!\s+/, "!").trim())
|
.map(s => s.replace(/^!\s+/, "!").trim())
|
||||||
.filter(x => x !== "")
|
.filter(x => x !== "")
|
||||||
.sort();
|
.sort();
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,7 +61,7 @@ export function getInputAsArray(
|
||||||
return core
|
return core
|
||||||
.getInput(name, options)
|
.getInput(name, options)
|
||||||
.split("\n")
|
.split("\n")
|
||||||
.map(s => s.replace(/^\!\s+/, "!").trim())
|
.map(s => s.replace(/^!\s+/, "!").trim())
|
||||||
.filter(x => x !== "")
|
.filter(x => x !== "")
|
||||||
.sort();
|
.sort();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue