From 8da6fdde60ba66068331354697b43a844bddd0c0 Mon Sep 17 00:00:00 2001 From: SamKirkland Date: Fri, 13 Nov 2020 13:25:32 -0600 Subject: [PATCH] exclude param - array parsing --- dist/index.js | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 !== ""); }