Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: respect NO_COLOR env var #5451

Merged
merged 2 commits into from
Nov 20, 2023
Merged

feat: respect NO_COLOR env var #5451

merged 2 commits into from
Nov 20, 2023

Conversation

eysi09
Copy link
Collaborator

@eysi09 eysi09 commented Nov 20, 2023

What this PR does / why we need it:

A quick fix to ensure Garden respects the NO_COLOR env var and doesn't print colored logs if it's set. We should also this as a CLI flag but this is a start.

A second commit also removes unused code that got accidentally left in.

Which issue(s) this PR fixes:

Fixes #2420

Special notes for your reviewer:

A quick fix to ensure Garden respects the NO_COLOR env var and doesn't
print colored logs if it's set.

We should also this as a CLI flag but this is a start.
This was accidentally merged but not used
@eysi09 eysi09 requested a review from stefreak November 20, 2023 19:23
@eysi09 eysi09 changed the title No color Respect NO_COLOR env var Nov 20, 2023
@stefreak stefreak changed the title Respect NO_COLOR env var feat: respect NO_COLOR env var Nov 20, 2023
@shumailxyz shumailxyz added this pull request to the merge queue Nov 20, 2023
Merged via the queue into main with commit 889552f Nov 20, 2023
46 checks passed
@shumailxyz shumailxyz deleted the no-color branch November 20, 2023 21:27
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.

[FEATURE]: Respect the terminal color themes
3 participants