Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Aug 9, 2022
1 parent 9e69c65 commit 3962d06
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkg/term/env.go
Expand Up @@ -23,12 +23,12 @@ type Term struct {
}

// FromEnv initializes a Term from [os.Stdout] and environment variables:
// - GH_FORCE_TTY
// - NO_COLOR
// - CLICOLOR
// - CLICOLOR_FORCE
// - TERM
// - COLORTERM
// - GH_FORCE_TTY
// - NO_COLOR
// - CLICOLOR
// - CLICOLOR_FORCE
// - TERM
// - COLORTERM
func FromEnv() Term {
var stdoutIsTTY bool
var isColorEnabled bool
Expand Down

0 comments on commit 3962d06

Please sign in to comment.