mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2025-08-14 14:05:05 +00:00
exclude param - array parsing
This commit is contained in:
parent
f0ef8012ea
commit
8da6fdde60
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -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 !== "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -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 !== "");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user