-
-
Notifications
You must be signed in to change notification settings - Fork 34.1k
tty: treat empty NO_COLOR same as absent NO_COLOR
#58074
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #58074 +/- ##
==========================================
- Coverage 90.09% 90.07% -0.02%
==========================================
Files 640 640
Lines 188450 188450
Branches 36966 36962 -4
==========================================
- Hits 169789 169752 -37
- Misses 11364 11396 +32
- Partials 7297 7302 +5
🚀 New features to boost your workflow:
|
|
@BridgeAR is it semver-major or just a fix? Wdyt about not landing it on LTS release lines to minimize the risk of ecosystem breakage, but still land it on Current release line? |
|
@aduh95 I think it's fine to land it on 24 or do you mean any release before? |
Commit Queue failed- Loading data for nodejs/node/pull/58074 ✔ Done loading data for nodejs/node/pull/58074 ----------------------------------- PR info ------------------------------------ Title tty: treat empty `NO_COLOR` same as absent `NO_COLOR` (#58074) ⚠ Could not retrieve the email or name of the PR author's from user's GitHub profile! Branch aduh95:fix-no-color -> nodejs:main Labels tty, author ready, needs-ci, dont-land-on-v20.x, dont-land-on-v22.x, dont-land-on-v23.x Commits 4 - tty: treat empty `NO_COLOR` same as absent `NO_COLOR` - fixup! tty: treat empty `NO_COLOR` same as absent `NO_COLOR` - Revert "fixup! tty: treat empty `NO_COLOR` same as absent `NO_COLOR`" - fixup! tty: treat empty `NO_COLOR` same as absent `NO_COLOR` Committers 1 - Antoine du Hamel <[email protected]> PR-URL: https://github.com/nodejs/node/pull/58074 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/58074 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> -------------------------------------------------------------------------------- ℹ This PR was created on Tue, 29 Apr 2025 10:23:00 GMT ✔ Approvals: 3 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/58074#pullrequestreview-2803306357 ✔ - Michaël Zasso (@targos) (TSC): https://github.com/nodejs/node/pull/58074#pullrequestreview-2803318306 ✔ - Ruben Bridgewater (@BridgeAR) (TSC): https://github.com/nodejs/node/pull/58074#pullrequestreview-2813243352 ✘ Last GitHub CI failed ✘ No Jenkins CI runs detected -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/14811753178 |
|
@aduh95 this has some conflicts. It could otherwise likely land. |
|
Landed in afbf2f3 |
PR-URL: #58074 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]>
As specified in https://no-color.org/, setting the env variable to an empty string should result in that env variable to be ignored: