Skip to content

Commit c353de0

Browse files
committed
fix(dist/manifestation): print "downloading component" only on InstallEvents
This avoids the following regression: ```console > rustup component remove rust-analyzer info: removing component rust-analyzer info: downloading component(s) ```
1 parent 3181be8 commit c353de0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dist/manifestation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ impl Manifestation {
216216
tx = self.uninstall_component(component, &new_manifest, tx)?;
217217
}
218218

219-
info!("downloading component(s)");
220219
let mut tx = if !components.is_empty() {
220+
info!("downloading component(s)");
221221
let mut stream = InstallEvents::new(components.into_iter(), Arc::new(self));
222222
let mut transaction = Some(tx);
223223
let tx = loop {

0 commit comments

Comments
 (0)