mirror of https://gitlab.com/gitlab-org/cli.git
Merge branch 'iostreams-test-fix-env-var-spelling' into 'main'
fix(iostreams): correct spelling of COLOR_ENABLED env var in color_test See merge request https://gitlab.com/gitlab-org/cli/-/merge_requests/1083 Merged-by: Gary Holtz <gholtz@gitlab.com> Approved-by: Terri Chu <tchu@gitlab.com> Co-authored-by: Foster Snowhill <2486761-ForstPenguin@users.noreply.gitlab.com>
This commit is contained in:
commit
19893312b9
|
@ -10,7 +10,7 @@ import (
|
|||
func Test_isColorEnabled(t *testing.T) {
|
||||
preRun := func() {
|
||||
os.Unsetenv("NO_COLOR")
|
||||
os.Unsetenv("COLOR_ENALBED")
|
||||
os.Unsetenv("COLOR_ENABLED")
|
||||
checkedNoColor = false // Reset it before each run
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue