mirror of
https://github.com/actions/cache.git
synced 2024-12-26 17:30:35 +01:00
Formatted files with prettier
This commit is contained in:
parent
f316f94f31
commit
0ae6818675
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
|
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();
|
||||||
}
|
}
|
||||||
|
|
2
dist/save/index.js
vendored
2
dist/save/index.js
vendored
|
@ -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 a new issue