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

Disable if STDERR is not a TTY #16

Closed
jonas054 opened this issue Dec 1, 2013 · 4 comments
Closed

Disable if STDERR is not a TTY #16

jonas054 opened this issue Dec 1, 2013 · 4 comments

Comments

@jonas054
Copy link

jonas054 commented Dec 1, 2013

In this error report the user piped stderr to a file and got unwanted escape codes in the file. I was thinking that Rainbow could disable itself if STDOUT or STDERR is a TTY. Now it only checks STDOUT.

@ku1ik
Copy link
Owner

ku1ik commented Dec 2, 2013

Yeah, good catch. I'll fix that and release a new version.

@jonas054
Copy link
Author

@sickill Ping! 😄

@ku1ik
Copy link
Owner

ku1ik commented Dec 26, 2013

@jonas054 hey there. I have just pushed rainbow 1.99 to rubygems which has this fixed. Lemme if it works fine now for you.

@ku1ik ku1ik closed this as completed Dec 26, 2013
@jonas054
Copy link
Author

Yes, that solves the problem. Thanks!

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

2 participants