Skip to content

Commit

Permalink
Merge pull request #2466 from garikAsplund/spin-doctor-small-fix
Browse files Browse the repository at this point in the history
fixed logic in spin doctor to display 'No problems found' properly
  • Loading branch information
fibonacci1729 authored Apr 24, 2024
2 parents b7fb272 + 494f2b0 commit fb45f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/doctor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl DoctorCommand {
}
}
}
if has_problems {
if !has_problems {
println!("{icon}No problems found.", icon = Emoji("❤ ", ""));
}
Ok(())
Expand Down

0 comments on commit fb45f59

Please sign in to comment.