Skip to content

Commit

Permalink
fix: add quiet verbosity during resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
alcolmenar committed Aug 10, 2023
1 parent a64ed39 commit 8864058
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/bin/cargo/commands/remove.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,12 @@ pub fn exec(config: &mut Config, args: &ArgMatches) -> CliResult {

// Reload the workspace since we've changed dependencies
let ws = args.workspace(config)?;
let verbosity = ws.config().shell().verbosity();
ws.config()
.shell()
.set_verbosity(cargo::core::Verbosity::Quiet);
let (_, resolve) = resolve_ws(&ws)?;
ws.config().shell().set_verbosity(verbosity);

// Attempt to gc unused patches and re-resolve if anything is removed
if gc_unused_patches(&workspace, &resolve)? {
Expand Down

0 comments on commit 8864058

Please sign in to comment.