guarantee getInputAsArray consistent across runs on separate machines
This commit is contained in:
parent
04f198bf0b
commit
f97cfde4d5
@ -38,7 +38,8 @@ export function getInputAsArray(
|
|||||||
.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();
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getInputAsInt(
|
export function getInputAsInt(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user