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(core/print): flush stderr #10480

Merged
merged 2 commits into from
May 3, 2021

Conversation

AaronO
Copy link
Contributor

@AaronO AaronO commented May 3, 2021

Stderr is unbuffered on Linux/macOS (so doesn't need to be flushed), but I think it's undefined on Windows

Follow up to #10436 (review)

@piscisaureus
Copy link
Member

Looks like this fixes a simple mistake to me.

One could argue for flushing both stdout and stderr, but that doesn't seem necessary because now they're flushed immediately when written to anyway.

Copy link
Member

@piscisaureus piscisaureus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@piscisaureus piscisaureus merged commit 3a37444 into denoland:main May 3, 2021
@AaronO AaronO deleted the fix/core-print-flush-stderr branch May 3, 2021 12:55
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.

None yet

2 participants