Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

correct ansi colors for 16 colors environments #579

Merged
merged 2 commits into from
Apr 6, 2016

Conversation

jtangelder
Copy link
Contributor

Colors were used from the non-standard 90-97 ansi range. Travis, and some other terminals, does not support these and so show white text. With this change the colors are visible again.

Proof at the travis logs of this PR https://travis-ci.org/gotwarlost/istanbul/jobs/117557241#L3662

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.001%) to 97.556% when pulling ee776c0 on jtangelder:fix-colors into ad8ab1d on gotwarlost:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.002%) to 97.554% when pulling 4d2daef on jtangelder:fix-colors into ad8ab1d on gotwarlost:master.

@gotwarlost
Copy link
Owner

LGTM.

@gotwarlost
Copy link
Owner

Actually, there is a small difference between the old and new code. If an undefined/ invalid class name was passed to the function before, it would just return the string without mangling it.

Could you modify the code so that the old behavior of not modifying the string when an unknown class name is passed, is maintained?

@jtangelder
Copy link
Contributor Author

I've updated the PR. Thanks for the review!

@gotwarlost gotwarlost merged commit bb5b6e1 into gotwarlost:master Apr 6, 2016
@jtangelder jtangelder deleted the fix-colors branch April 6, 2016 17:56
@gotwarlost
Copy link
Owner

Available in istanbul@0.4.3 - sorry for the delay.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants