Skip to content

Commit

Permalink
Merge pull request #63 from ebilling/master
Browse files Browse the repository at this point in the history
always colorize output unless specifically requested not to
  • Loading branch information
dnephin committed Aug 24, 2019
2 parents 9ed80b5 + e3accd4 commit 31514b3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,7 @@ func setupLogging(opts *options) {
if opts.debug {
log.SetLevel(log.DebugLevel)
}
if opts.noColor {
color.NoColor = true
}
color.NoColor = opts.noColor
}

// TODO: add flag --max-failures
Expand Down

0 comments on commit 31514b3

Please sign in to comment.