1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-27 14:39:16 +01:00

Fix linting

This commit is contained in:
Álvaro Mondéjar Rubio 2022-06-21 13:42:12 +02:00
parent fe28a720e4
commit c4678ef19f

View file

@ -60,7 +60,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();
} }