Skip to content

Commit

Permalink
Set color override to true if enabled
Browse files Browse the repository at this point in the history
Addresses #86
  • Loading branch information
spenserblack committed Oct 28, 2019
1 parent 99ff814 commit d548783
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 @@ -84,8 +84,8 @@ fn main() -> Result<()> {
#[cfg(not(target = "windows"))]
let enabled = true;

if !enabled {
colored::control::set_override(false);
if enabled {
colored::control::set_override(true);
}

if !is_git_installed() {
Expand Down

0 comments on commit d548783

Please sign in to comment.