Loading __tests__/actionUtils.test.ts +4 −1 Changes for __tests__/actionUtils.test.ts: 4 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -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", Loading dist/restore/index.js +3 −2 Changes for dist/restore/index.js: 3 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -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) { dist/save/index.js +3 −2 Changes for dist/save/index.js: 3 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -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) { Loading
__tests__/actionUtils.test.ts +4 −1 Changes for __tests__/actionUtils.test.ts: 4 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -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", Loading
dist/restore/index.js +3 −2 Changes for dist/restore/index.js: 3 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -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) {
dist/save/index.js +3 −2 Changes for dist/save/index.js: 3 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -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) {