Bump github.com/jedib0t/go-pretty/v6 from 6.6.8 to 6.6.9
Bumps [github.com/jedib0t/go-pretty/v6](https://github.com/jedib0t/go-pretty) from 6.6.8 to 6.6.9. - [Release notes](https://github.com/jedib0t/go-pretty/releases) - [Commits](https://github.com/jedib0t/go-pretty/compare/v6.6.8...v6.6.9) --- updated-dependencies: - dependency-name: github.com/jedib0t/go-pretty/v6 dependency-version: 6.6.9 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
edf9901505
commit
a7cf64741b
4 changed files with 9 additions and 5 deletions
6
vendor/github.com/jedib0t/go-pretty/v6/text/color.go
generated
vendored
6
vendor/github.com/jedib0t/go-pretty/v6/text/color.go
generated
vendored
|
|
@ -27,7 +27,11 @@ func areColorsOnInTheEnv() bool {
|
|||
if os.Getenv("FORCE_COLOR") == "1" {
|
||||
return true
|
||||
}
|
||||
return os.Getenv("NO_COLOR") == "" || os.Getenv("NO_COLOR") == "0"
|
||||
if os.Getenv("NO_COLOR") == "" || os.Getenv("NO_COLOR") == "0" {
|
||||
return os.Getenv("TERM") != "dumb"
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
// The logic here is inspired from github.com/fatih/color; the following is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue