Skip to content

Commit c932c99

Browse files
npm install changes
1 parent 2b1c5c2 commit c932c99

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

commands/utils/set_args.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,18 @@ function sync_args_from_cmd(args) {
371371
);
372372

373373
if ("npm-f" in args) {
374-
lt_config.run_settings.npmf = args["npm-f"];
374+
if (args["npm-f"] == "true") {
375+
lt_config.run_settings.npmf = true;
376+
} else {
377+
lt_config.run_settings.npmf = false;
378+
}
375379
}
376380
if ("npm-lpd" in args) {
377-
lt_config.run_settings.npmlpd = args["npm-lpd"];
381+
if (args["npm-lpd"] == "true") {
382+
lt_config.run_settings.npmlpd = true;
383+
} else {
384+
lt_config.run_settings.npmlpd = false;
385+
}
378386
}
379387
//get specs from current directory if specs are not passed in config or cli
380388
if (

0 commit comments

Comments
 (0)