Skip to content

progress: keep color enabled with NO_COLOR empty#3556

Merged
tonistiigi merged 1 commit into
moby:masterfrom
jedevc:no-color-empty-string
Feb 1, 2023
Merged

progress: keep color enabled with NO_COLOR empty#3556
tonistiigi merged 1 commit into
moby:masterfrom
jedevc:no-color-empty-string

Conversation

@jedevc
Copy link
Copy Markdown
Member

@jedevc jedevc commented Jan 31, 2023

🐛 Fixes #3537

The NO_COLOR specification says that color should be disabled if NO_COLOR is set and not empty.

cc @spkane (author of the original NO_COLOR PR in #2954)

The NO_COLOR specification says that color should be disabled if
NO_COLOR is set *and not empty*.

Signed-off-by: Justin Chadwell <me@jedevc.com>
@jedevc jedevc requested a review from crazy-max January 31, 2023 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

should NO_COLOR= disable color output?

3 participants