summaryrefslogtreecommitdiff
path: root/cli/tools
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tools')
-rw-r--r--cli/tools/installer.rs4
-rw-r--r--cli/tools/standalone.rs1
2 files changed, 5 insertions, 0 deletions
diff --git a/cli/tools/installer.rs b/cli/tools/installer.rs
index 6928624ea..d1754562a 100644
--- a/cli/tools/installer.rs
+++ b/cli/tools/installer.rs
@@ -321,6 +321,10 @@ fn resolve_shim_data(
executable_args.push("--no-remote".to_string());
}
+ if flags.no_npm {
+ executable_args.push("--no-npm".to_string());
+ }
+
if flags.lock_write {
executable_args.push("--lock-write".to_string());
}
diff --git a/cli/tools/standalone.rs b/cli/tools/standalone.rs
index 6046654b9..3a2bed105 100644
--- a/cli/tools/standalone.rs
+++ b/cli/tools/standalone.rs
@@ -279,6 +279,7 @@ pub fn compile_to_runtime_flags(
.unsafely_ignore_certificate_errors
.clone(),
no_remote: false,
+ no_npm: false,
no_prompt: flags.no_prompt,
reload: false,
seed: flags.seed,