mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2026-09-22 12:35:24 +02:00
exclude param - array parsing
This commit is contained in:
1 parent
f0ef8012ea
commit
8da6fdde60
2 files changed
+2
-2
No files matched your search
Vendored
+1
-1
@@ -6654,7 +6654,7 @@ function optionalStringArray(argumentName, rawValue) {
|
|||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
// split value by space and comma
|
// split value by space and comma
|
||||||
return rawValue.split("\n").filter(str => str !== "");
|
return rawValue.split(" - ").filter(str => str !== "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -136,5 +136,5 @@ function optionalStringArray(argumentName: string, rawValue: string): string[] |
|
|||||||
}
|
}
|
||||||
|
|
||||||
// split value by space and comma
|
// split value by space and comma
|
||||||
return rawValue.split("\n").filter(str => str !== "");
|
return rawValue.split(" - ").filter(str => str !== "");
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user