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

Make the both reporters output to stderr #157

Open
illright opened this issue Dec 26, 2024 · 1 comment
Open

Make the both reporters output to stderr #157

illright opened this issue Dec 26, 2024 · 1 comment
Assignees
Milestone

Comments

@illright
Copy link
Member

Currently, the pretty reporter outputs to stderr while the json reporter outputs to stdout. Reconcile this behaviour in the next minor version

@illright illright added this to the 0.6.0 milestone Dec 26, 2024
@illright illright changed the title Make the both reporters output to stdout Make the both reporters output to stderr Dec 28, 2024
@illright
Copy link
Member Author

Here's an argument in favor of outputting to stderr instead of stdout:

I would actually say the expected result is nothing, and errors are always unexpected. That's why we exit with code 1, it's precisely the same logic.

denoland/deno#6303 (comment)

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

1 participant