Skip to content

Commit

Permalink
🔊 - Only show progress when exactly at 'Info'
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandpeelen committed Nov 20, 2024
1 parent ae6c713 commit 9ef4f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ fn main() {

// The 'normal run' mode will show the 'pretty' formatted progress. But if we turn off the log
// level, we should never show that.
let show_progress = log_level_filter != LevelFilter::Off;
let show_progress = log_level_filter == LevelFilter::Info;

match lock::get(&folder) {
lock::Lock::Error(ref e) => {
Expand Down

0 comments on commit 9ef4f95

Please sign in to comment.