diff options
Diffstat (limited to 'cli/tools/installer.rs')
-rw-r--r-- | cli/tools/installer.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tools/installer.rs b/cli/tools/installer.rs index f2f5562c2..ec527949d 100644 --- a/cli/tools/installer.rs +++ b/cli/tools/installer.rs @@ -227,8 +227,8 @@ pub fn install( executable_args.push("--cached_only".to_string()); } - if let Some(v8_flags) = flags.v8_flags { - executable_args.push(format!("--v8-flags={}", v8_flags.join(","))); + if !flags.v8_flags.is_empty() { + executable_args.push(format!("--v8-flags={}", flags.v8_flags.join(","))); } if let Some(seed) = flags.seed { |