Use strict parsing in installer (#439)

Bail out if arguments that aren't understood are passed to the
installer script instead of silently ignoring them.
This commit is contained in:
Hornwitser authored and GitHub committed 2021-12-08 23:59:40 +01:00
1 parent df80effbdf
commit f1ac22881c
1 file changed
+3 -1
+3 -1
View File
@@ -527,7 +527,9 @@ async function main() {
}) })
.option("plugins", { .option("plugins", {
array: true, describe: "Plugins to install", type: "string", array: true, describe: "Plugins to install", type: "string",
}); })
.strict()
;
if (process.platform === "linux") { if (process.platform === "linux") {
args = args args = args