Skip to content

Commit fb45f59

Browse files
Merge pull request #2466 from garikAsplund/spin-doctor-small-fix
fixed logic in spin doctor to display 'No problems found' properly
2 parents b7fb272 + 494f2b0 commit fb45f59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/doctor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ impl DoctorCommand {
7676
}
7777
}
7878
}
79-
if has_problems {
79+
if !has_problems {
8080
println!("{icon}No problems found.", icon = Emoji("❤ ", ""));
8181
}
8282
Ok(())

0 commit comments

Comments
 (0)