mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2026-09-22 12:35:24 +02:00
exclude defaults bug fix
This commit is contained in:
1 parent
93a0898871
commit
f55279346a
2 files changed
+7
No files matched your search
Vendored
+3
@@ -7984,6 +7984,9 @@ function optionalInt(argumentName, rawValue) {
|
||||
}
|
||||
exports.optionalInt = optionalInt;
|
||||
function optionalStringArray(argumentName, rawValue) {
|
||||
if (rawValue.length === 0) {
|
||||
return undefined;
|
||||
}
|
||||
if (typeof rawValue === "string") {
|
||||
throw new Error(`${argumentName}: invalid parameter - you provided "${rawValue}". This option expects an list in the EXACT format described in the readme`);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user