mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2026-04-10 12:32:17 +02:00
local-dir path, excludes param logging
This commit is contained in:
@@ -129,10 +129,12 @@ function optionalInt(argumentName: string, rawValue: string): number | undefined
|
||||
}
|
||||
|
||||
function optionalStringArray(argumentName: string, rawValue: string): string[] | undefined {
|
||||
console.log(rawValue);
|
||||
|
||||
if (rawValue.length === 0) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
// split value by space and comma
|
||||
return rawValue.split(", ");
|
||||
return rawValue.split("\n").filter(str => str !== "");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user