Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
darimari21 committed Jan 18, 2024
1 parent 7eff652 commit 4473a61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fn default_colors_enabled(out: &Term) -> bool {

let no_color_enabled = match env::var("NO_COLOR") {
Ok(val) => val.to_lowercase() != "0" && val.to_lowercase() != "false",
Err(_) => false, // Dacă variabila nu este setată, presupunem că nu este activată
Err(_) => false,
};

(clicolor_enabled && !no_color_enabled)
Expand Down

0 comments on commit 4473a61

Please sign in to comment.