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

Do not use ANSI colours when printing to non interactive terminal #19

Open
bethesque opened this issue May 7, 2014 · 1 comment
Open

Comments

@bethesque
Copy link
Member

eg.

�[31mActual interactions do not match expected interactions for mock Media Project Revenue.
@YOU54F
Copy link
Member

YOU54F commented Aug 12, 2024

Reverting the following change in pact-support will fix this behaviour, but will cause some tests to fail in pact-ruby (as gha uses non interactive terminals)

pact-foundation/pact-support@0585424#diff-3df67314b1e956a19eebf4f7291abe158bf454c031522388ee504e7bd553cc2cR119

the new library we are using 'rainbow' will detect if dumb term or tty and disable colour codes from output

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

3 participants