Skip to content

Commit

Permalink
make scanning finished orange
Browse files Browse the repository at this point in the history
  • Loading branch information
YamatoSecurity committed Nov 15, 2024
1 parent 8a22b07 commit a853d79
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1870,11 +1870,13 @@ impl App {
afterfact_info.tl_endtime = tl.stats.end_time;

let msg = if stored_static.output_path.is_some() {
"Scanning finished. Please wait while the results are being saved.\n"
style("Scanning finished. Please wait while the results are being saved.\n").color256(214)
} else {
"Scanning finished.\n"
style("Scanning finished.\n").color256(214)
};
pb.finish_with_message(msg);
// Convert the ColoredString to a String before passing it
pb.finish_with_message(msg.to_string());

// output afterfact
if stored_static.is_low_memory {
afterfact::output_additional_afterfact(
Expand Down

0 comments on commit a853d79

Please sign in to comment.