diff --git a/commands/utils/set_args.js b/commands/utils/set_args.js index 82ed23e..35dec2c 100644 --- a/commands/utils/set_args.js +++ b/commands/utils/set_args.js @@ -380,10 +380,18 @@ function sync_args_from_cmd(args) { ); if ("npm-f" in args) { - lt_config.run_settings.npmf = args["npm-f"]; + if (args["npm-f"] == "true") { + lt_config.run_settings.npmf = true; + } else { + lt_config.run_settings.npmf = false; + } } if ("npm-lpd" in args) { - lt_config.run_settings.npmlpd = args["npm-lpd"]; + if (args["npm-lpd"] == "true") { + lt_config.run_settings.npmlpd = true; + } else { + lt_config.run_settings.npmlpd = false; + } } //get specs from current directory if specs are not passed in config or cli if (