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

Force colors to be enabled when running tests with buck #72

Merged
merged 2 commits into from Nov 10, 2020

Conversation

mhlakhani
Copy link
Contributor

This PR improves support for colors in output when running tests built with buck. By default the colored module would not produce output since it disables colors when stdout is a tty: https://github.com/mackwic/colored/blob/master/src/control.rs#L105-L114

We detect if buck is being used and if so, force colored output.

@aaronabramov
Copy link
Owner

amazing!

@aaronabramov aaronabramov merged commit 9c38088 into aaronabramov:master Nov 10, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants