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
Hmm I see, but this is somewhat intentional. 7384705 aligned the code to the behavior that was always intended, which is the thought that if you use cli-highlight but don't want colored output, why would you use cli-highlight? This way it still works even when you redirect the output e.g. to a pager, to a log file being viewed with a viewer that supports colors, etc. You could for example use cat t.js to view the file with colors.
I see though that there is a use case for non-highlighted direction, so it's probably better to let the user force colors as needed with --color/--no-color and the FORCE_COLOR env var.
index.js
node index.js > t.js
output is
It's caused by 7384705 according to vuejs/vue-cli#6084 (comment)
The text was updated successfully, but these errors were encountered: