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

cargo web uses color even when not supported #247

Open
jgarvin opened this issue Jun 19, 2020 · 0 comments
Open

cargo web uses color even when not supported #247

jgarvin opened this issue Jun 19, 2020 · 0 comments

Comments

@jgarvin
Copy link

jgarvin commented Jun 19, 2020

Color should only be used when the output is a tty and when the terminal supports color. rustc/cargo normally understand this, but when invoked through cargo web build I get a lot of this:

�[0m�[0m�[1m�[32m Compiling�[0m webidl v0.8.0

This is annoying when you are redirecting stdout/stderr to a log file for example.

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

No branches or pull requests

1 participant