Skip to content

Commit

Permalink
refactor: improve output formatting in checksum and normal alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
Kremilly committed Jan 3, 2025
1 parent 25414a3 commit 09fcd2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ui/checksum_alerts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub struct ChecksumAlerts;
impl ChecksumAlerts {

pub fn file(file: &str) {
println!("File: {}", file.blue());
println!("{}\n", file.blue());
}

pub fn checksum(file: &str) {
Expand Down
3 changes: 1 addition & 2 deletions src/ui/normal_alerts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ impl NormalAlerts {
}

pub fn report(dump_file_path: &str, dump_count: usize, last_dump: &str) {
println!("\n{}", "-".repeat(50));
println!("Final Report:\n");
println!("\nFinal Report:\n");

println!("Directory: {}", dump_file_path.bold().blue());
println!("Total number of dumps: {}", dump_count.to_string().bold().blue());
Expand Down

0 comments on commit 09fcd2e

Please sign in to comment.