commandDispatcher: try 2

This commit is contained in:
Cynthia Foxwell 2022-12-10 15:29:00 -07:00
parent a15e4c9d1d
commit d920d334a2
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ function parseAsArgv(argv) {
for (const arg of argv) {
const equalsIndex = arg.indexOf("=");
const argName =
equalsIndex === -1
equalsIndex === -1 && arg.charAt(0) === "-"
? removeStartHyphens(arg)
: removeStartHyphens(arg.slice(0, equalsIndex));