mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2026-09-22 12:35:24 +02:00
allowing no ecludes
This commit is contained in:
1 parent
ba86a1bf13
commit
825d1b8f3b
1 file changed
-4
@@ -95,9 +95,5 @@ export function optionalStringArray(argumentName: string, rawValue: string[]): s
|
||||
throw new Error(`${argumentName}: invalid parameter - you provided "${rawValue}". This option expects an list in the EXACT format described in the readme`);
|
||||
}
|
||||
|
||||
if (rawValue.length === 0) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
return rawValue;
|
||||
}
|
||||
Reference in new issue
Block a user