Merge pull request #1969 from cdr/qol

qol changes
This commit is contained in:
Asher
2020-08-17 14:17:29 -05:00
committed by GitHub
14 changed files with 89 additions and 125 deletions

View File

@ -176,7 +176,7 @@ export const parse = (
const arg = argv[i]
// -- signals the end of option parsing.
if (!ended && arg == "--") {
if (!ended && arg === "--") {
ended = true
continue
}
@ -224,7 +224,7 @@ export const parse = (
throw error(`--${key} requires a value`)
}
if (option.type == OptionalString && value == "false") {
if (option.type === OptionalString && value === "false") {
continue
}