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

CliOptions: write info to console instead of err #4272

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

kitbellew
Copy link
Collaborator

Currently, info is written to out if out is not used for result output, and to err otherwise.

Let's enhance this approach as follows: if out is not used, then we'll write into to out, as before; otherwise, before resorting to err, check if the console is available and use it then.

Fixes #4156.

Currently, info is written to out if out is not used for result output,
and to err otherwise.

Let's enhance this approach as follows: if out is not used, then we'll
write into to out, as before; otherwise, before resorting to err, check
if the console is available and use it then.
@kitbellew
Copy link
Collaborator Author

@fdietze let me know if this works for you.

@kitbellew kitbellew merged commit 1b1d57d into scalameta:main Sep 16, 2024
11 checks passed
@kitbellew kitbellew deleted the 4156 branch September 16, 2024 16:46
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.

log messages are printed to stdout
2 participants