Skip to content

Commit

Permalink
chore: make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Dec 1, 2023
1 parent 9424f88 commit 450791e
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 @@ -24,7 +24,7 @@ use tracing_subscriber::prelude::*;
async fn main() -> Result<()> {
let cli = Trunk::parse();

let colored = std::io::stdout().is_terminal() && !std::env::var_os("NO_COLOR").is_some();
let colored = std::io::stdout().is_terminal() && std::env::var_os("NO_COLOR").is_none();

#[cfg(windows)]
if colored {
Expand Down

0 comments on commit 450791e

Please sign in to comment.