mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2026-05-25 18:57:49 +02:00
exclude param - array parsing
This commit is contained in:
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