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

fix: print EOL warnings to stderr #5665

Closed
wants to merge 1 commit into from

Conversation

flexagoon
Copy link

Closes #5533

@TingPing
Copy link
Member

TingPing commented Feb 7, 2024

This isn't really the way the codebase uses stderr; Currently it is limited to actual errors.

An idea, I'm not sure about it yet though, is to have a --quiet flag that omits informational messages.

@flexagoon
Copy link
Author

@TingPing EOL messages are warnings though. I'd assume that if someone redirects stderr to a file or /dev/null they want all diagnostic messages redirected there, not just panics. Are you sure this should be on stdin?

@flexagoon
Copy link
Author

Okay, I saw the explanation under the original issue

#5533 (comment)

That makes sense.

@flexagoon flexagoon closed this Mar 28, 2024
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.

[Bug]: Some diagnostic messages go to stdout, not stderr
2 participants