Skip to content

Commit ce72eb6

Browse files
committed
Auto merge of #4702 - mathstuf:update-lockfile-switch-colors, r=alexcrichton
cargo_generate_lockfile: flip Updating and Adding colors Updating is green elsewhere and is more common as well. --- Cc: @alexcrichton
2 parents 0dd55e8 + 05356a5 commit ce72eb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cargo/ops/cargo_generate_lockfile.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ pub fn update_lockfile(ws: &Workspace, opts: &UpdateOptions)
9696
} else {
9797
format!("{} -> v{}", removed[0], added[0].version())
9898
};
99-
print_change("Updating", msg, Cyan)?;
99+
print_change("Updating", msg, Green)?;
100100
} else {
101101
for package in removed.iter() {
102102
print_change("Removing", format!("{}", package), Red)?;
103103
}
104104
for package in added.iter() {
105-
print_change("Adding", format!("{}", package), Green)?;
105+
print_change("Adding", format!("{}", package), Cyan)?;
106106
}
107107
}
108108
}

0 commit comments

Comments
 (0)