From c733f352ffa3126f939a71f733daca99bf564800 Mon Sep 17 00:00:00 2001 From: jtenner Date: Fri, 10 Apr 2020 15:33:12 -0400 Subject: [PATCH] Fix option property access When I was porting this module to TypeScript for a personal project, (and referencing it via the apache license,) I found this error. --- cli/util/options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/util/options.js b/cli/util/options.js index 43416641cf..9e201549e6 100644 --- a/cli/util/options.js +++ b/cli/util/options.js @@ -72,7 +72,7 @@ function parse(argv, config) { case "s": options[key] = option.default || ""; break; case "I": case "F": - case "S": options[key] = options.default || []; break; + case "S": options[key] = option.default || []; break; default: unknown.push(arg); } }