-
Notifications
You must be signed in to change notification settings - Fork 50
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
Color is not getting completely disabled #82
Comments
Could this be from this line? - if RSpec.configuration.color_enabled? && code = console_code_for(code_or_symbol)
+ if SuperDiff.configuration.color_enabled? && code = console_code_for(code_or_symbol) |
Yeah, we'd want to confirm in a test, but I think that may be it. |
mcmire
pushed a commit
that referenced
this issue
Feb 10, 2023
Disabling color only applies to the diff, not the header and the key. Disabling color is needed for my team, because we use CircleCI which can show color sometimes, and remove it at other times (I believe based on the length of the log). And in the later case, we're seeing ansi color codes. I have confirmed the change proposed in #82 allows us to disable color in all of the output.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When disabling color, it seems that it does remove the escape codes from the diff, but not from the "Diff" header or the key.
The text was updated successfully, but these errors were encountered: