Removed unnecessary backslash in regex

pull/903/head
Sankalp Kotewar 2 years ago
parent 0ae6818675
commit 8954b07458

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

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

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

Loading…
Cancel
Save