Commit 8954b074 authored by Sankalp Kotewar's avatar Sankalp Kotewar
Browse files

Removed unnecessary backslash in regex

parent 0ae68186
Loading
Loading
Loading
Loading
+1 −1
Changes for dist/restore/index.js: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -37662,7 +37662,7 @@ function getInputAsArray(name, options) {
    return core
        .getInput(name, options)
        .split("\n")
        .map(s => s.replace(/^\!\s+/, "!").trim())
        .map(s => s.replace(/^!\s+/, "!").trim())
        .filter(x => x !== "")
        .sort();
}
+1 −1
Changes for dist/save/index.js: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -37662,7 +37662,7 @@ function getInputAsArray(name, options) {
    return core
        .getInput(name, options)
        .split("\n")
        .map(s => s.replace(/^\!\s+/, "!").trim())
        .map(s => s.replace(/^!\s+/, "!").trim())
        .filter(x => x !== "")
        .sort();
}
+1 −1
Changes for src/utils/actionUtils.ts: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ export function getInputAsArray(
    return core
        .getInput(name, options)
        .split("\n")
        .map(s => s.replace(/^\!\s+/, "!").trim())
        .map(s => s.replace(/^!\s+/, "!").trim())
        .filter(x => x !== "")
        .sort();
}