Skip to content

Commit

Permalink
fix: windows clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
bootandy committed Mar 25, 2024
1 parent fbd34ec commit 69c4c63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ fn should_init_color(no_color: bool, force_color: bool) -> bool {
{
// Required for windows 10
// Fails to resolve for windows 8 so disable color
return match ansi_term::enable_ansi_support() {
match ansi_term::enable_ansi_support() {
Ok(_) => true,
Err(_) => {
eprintln!("This version of Windows does not support ANSI colors");
false
}
};
}
}
#[cfg(not(windows))]
{
Expand Down

0 comments on commit 69c4c63

Please sign in to comment.