-
Notifications
You must be signed in to change notification settings - Fork 466
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: Allow disabling colorized debug output #1166
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit d79febc:
|
Codecov Report
@@ Coverage Diff @@
## main #1166 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 24 24
Lines 990 996 +6
Branches 325 327 +2
=========================================
+ Hits 990 996 +6
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Thanks. This needs documentation to acompany it. |
I took a stab at updating the docs. Let me know what you think! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@all-contributors add @MynockSpit for code |
I've put up a pull request to add @MynockSpit! 🎉 |
🎉 This PR is included in version 8.18.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What:
Add an environment flag that allows turning off of colors from the command line.
Why:
Some environments current flag as "node", but print logs in formats that don't handle colorization which makes reading the logs hard to read.
More details here: #1153
How:
Changed the
isNode
function toshouldHighlight
, and check for the environment variable before checking for theChecklist: