Skip to content

Commit 8da6fdd

Browse files
committed
exclude param - array parsing
1 parent f0ef801 commit 8da6fdd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6654,7 +6654,7 @@ function optionalStringArray(argumentName, rawValue) {
66546654
return undefined;
66556655
}
66566656
// split value by space and comma
6657-
return rawValue.split("\n").filter(str => str !== "");
6657+
return rawValue.split(" - ").filter(str => str !== "");
66586658
}
66596659

66606660

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,5 +136,5 @@ function optionalStringArray(argumentName: string, rawValue: string): string[] |
136136
}
137137

138138
// split value by space and comma
139-
return rawValue.split("\n").filter(str => str !== "");
139+
return rawValue.split(" - ").filter(str => str !== "");
140140
}

0 commit comments

Comments
 (0)