diff --git a/dist/index.js b/dist/index.js index 329860d..d41d3df 100644 --- a/dist/index.js +++ b/dist/index.js @@ -6654,7 +6654,7 @@ function optionalStringArray(argumentName, rawValue) { return undefined; } // split value by space and comma - return rawValue.split("\n").filter(str => str !== ""); + return rawValue.split(" - ").filter(str => str !== ""); } diff --git a/src/main.ts b/src/main.ts index dbf5d7c..7bc7eaf 100644 --- a/src/main.ts +++ b/src/main.ts @@ -136,5 +136,5 @@ function optionalStringArray(argumentName: string, rawValue: string): string[] | } // split value by space and comma - return rawValue.split("\n").filter(str => str !== ""); + return rawValue.split(" - ").filter(str => str !== ""); }