Skip to content
Permalink
Browse files

fix: colored output on travis

  • Loading branch information...
caarlos0 committed Oct 26, 2018
1 parent 19ccf2f commit 4f36070338a4b7b4bd0f4da71692c1bd5aeefb0b
Showing with 4 additions and 0 deletions.
  1. +4 −0 main.go
@@ -38,6 +38,10 @@ type releaseOptions struct {
}

func init() {
// enable colored output on travis
if os.Getenv("CI") == "Travis" {
color.NoColor = false
}
log.SetHandler(cli.Default)
}

0 comments on commit 4f36070

Please sign in to comment.
You can’t perform that action at this time.