Skip to content

Commit

Permalink
fix(cli): incorrect number of progress updates
Browse files Browse the repository at this point in the history
Co-authored-by: Filip Tibell <[email protected]>
  • Loading branch information
CompeyDev and filiptibell authored Aug 28, 2024
1 parent 8032c53 commit 43e9f4e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/cli/remove.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,8 @@ impl RemoveSubcommand {
if tool_cache.is_installed(&spec) {
pt.update_message("Uninstalling");
tool_storage.remove_tool_link(&self.alias).await?;
pt.task_completed();
} else {
pt.task_completed();
pt.task_completed();
}
pt.task_completed();

// 3. Finally, display a nice message to the user
pt.finish_with_message(format!(
Expand Down

0 comments on commit 43e9f4e

Please sign in to comment.