Skip to content

Commit

Permalink
Fix logging in format.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
WGUNDERWOOD committed Sep 25, 2024
1 parent e3fa9fa commit 1dfe765
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,8 @@ pub fn format_file(
record_file_log(logs, Warn, file, "Indent does not return to zero.");
}

record_file_log(logs, Info, file, "Formatting complete.");

new_text = remove_trailing_spaces(&new_text);
record_file_log(logs, Info, file, "Formatting complete.");
new_text
}

Expand Down

0 comments on commit 1dfe765

Please sign in to comment.