style(utils): add green tick to finish msg in with_progressbar
This commit is contained in:
parent
76d93e6504
commit
51722966e4
1 changed files with 2 additions and 1 deletions
|
|
@ -42,7 +42,8 @@ where
|
|||
pb.set_message(start_msg.to_string());
|
||||
|
||||
let result = f(pb.clone()).await;
|
||||
pb.finish_with_message(finish_msg.to_string());
|
||||
let formatted_finish_msg = format!("{} {}", dialoguer::console::style("✔").green(), finish_msg);
|
||||
pb.finish_with_message(formatted_finish_msg);
|
||||
|
||||
result
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue