Commit f316f94f authored by Vipul's avatar Vipul
Browse files

Generate build and fix format

parent 204fa1ab
Loading
Loading
Loading
Loading
+4 −1
Changes for __tests__/actionUtils.test.ts: 4 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -216,7 +216,10 @@ test("getInputAsArray handles empty lines correctly", () => {
});

test("getInputAsArray sorts files correctly", () => {
    testUtils.setInput("foo", "bar\n!baz\nwaldo\nqux\nquux\ncorge\ngrault\ngarply");
    testUtils.setInput(
        "foo",
        "bar\n!baz\nwaldo\nqux\nquux\ncorge\ngrault\ngarply"
    );
    expect(actionUtils.getInputAsArray("foo")).toEqual([
        "!baz",
        "bar",
+3 −2
Changes for dist/restore/index.js: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -37662,8 +37662,9 @@ function getInputAsArray(name, options) {
    return core
        .getInput(name, options)
        .split("\n")
        .map(s => s.trim())
        .filter(x => x !== "");
        .map(s => s.replace(/^\!\s+/, '!').trim())
        .filter(x => x !== "")
        .sort();
}
exports.getInputAsArray = getInputAsArray;
function getInputAsInt(name, options) {
+3 −2
Changes for dist/save/index.js: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -37662,8 +37662,9 @@ function getInputAsArray(name, options) {
    return core
        .getInput(name, options)
        .split("\n")
        .map(s => s.trim())
        .filter(x => x !== "");
        .map(s => s.replace(/^\!\s+/, '!').trim())
        .filter(x => x !== "")
        .sort();
}
exports.getInputAsArray = getInputAsArray;
function getInputAsInt(name, options) {