You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running node test.js --no-color results in "hello" in red rather than with no colour.
Having had a quick dig, I can see that the colors.enabled flag is being set to false correctly but the applyStyle function that uses the flag isn't being invoked.
The text was updated successfully, but these errors were encountered:
A simple test harness to illustrate:
Running
node test.js --no-color
results in "hello" in red rather than with no colour.Having had a quick dig, I can see that the
colors.enabled
flag is being set tofalse
correctly but theapplyStyle
function that uses the flag isn't being invoked.The text was updated successfully, but these errors were encountered: