Skip to content

Commit

Permalink
Change color.SetupColors comment
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacPD committed Nov 11, 2020
1 parent 5575ef1 commit 44512a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/skaffold/color/formatter.go
Expand Up @@ -35,7 +35,7 @@ func init() {
colors.Disable(true)
}

// SetupColors enables/disables coloured output.
// SetupColors conditionally wraps the input `Writer` with a color enabled `Writer`.
func SetupColors(out io.Writer, defaultColor int, forceColors bool) io.Writer {
_, isTerm := util.IsTerminal(out)
useColors := isTerm || forceColors
Expand Down

0 comments on commit 44512a4

Please sign in to comment.