From 6edc0ed30b3eb7cb5e61d0b3967a67198b84e0cd Mon Sep 17 00:00:00 2001 From: Gal Schlezinger Date: Sun, 26 May 2024 07:48:37 +0300 Subject: [PATCH] s/no_progress: true/progress: ProgressConfig::Never/g --- src/commands/install.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/commands/install.rs b/src/commands/install.rs index 46dfb58d1..79013ad1d 100644 --- a/src/commands/install.rs +++ b/src/commands/install.rs @@ -3,7 +3,6 @@ use crate::alias::create_alias; use crate::arch::get_safe_arch; use crate::config::FnmConfig; use crate::downloader::{install_node_dist, Error as DownloaderError}; -use crate::log_level::LogLevel; use crate::lts::LtsType; use crate::outln; use crate::progress::ProgressConfig; @@ -238,7 +237,7 @@ mod tests { version: UserVersion::from_str("12.0.0").ok(), lts: false, latest: false, - no_progress: true, + progress: ProgressConfig::Never, } .apply(&config) .expect("Can't install"); @@ -264,7 +263,7 @@ mod tests { version: None, lts: false, latest: true, - no_progress: true, + progress: ProgressConfig::Never, } .apply(&config) .expect("Can't install");