From 7135d34ccab7629da57c75ee239fcb0dda733eae Mon Sep 17 00:00:00 2001 From: crowlKats <13135287+crowlKats@users.noreply.github.com> Date: Sun, 6 Dec 2020 18:19:21 +0100 Subject: refactor(cli): remove Option from Flags.v8_flags (#8633) --- cli/tools/installer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/tools') 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 { -- cgit v1.2.3