Skip to content

Commit

Permalink
move TEAMCITY_VERSION version checkout outside of CI check
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Jun 12, 2023
1 parent fd18572 commit 3e99957
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,13 +221,13 @@ var defaultNoColor = func() bool {
return false
}
}
if _, exists := os.LookupEnv("TEAMCITY_VERSION"); exists {
return false
}
if os.Getenv("CI_NAME") == "codeship" {
return false
}
}
if _, exists := os.LookupEnv("TEAMCITY_VERSION"); exists {
return false
}
return color.NoColor
}()

Expand Down

0 comments on commit 3e99957

Please sign in to comment.