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

Only print newline to when outputting to os.Stdout #1041

Merged
merged 1 commit into from
Jan 18, 2021

Conversation

hairyhenderson
Copy link
Owner

In #1039 it became possible to set a different output stream than os.Stdout. This changes the convenience-newline logic to only happen when os.Stdout is indeed the output stream.

Signed-off-by: Dave Henderson [email protected]

@hairyhenderson hairyhenderson merged commit 9eb3469 into master Jan 18, 2021
@hairyhenderson hairyhenderson deleted the only-newline-with-stdout branch January 18, 2021 00:19
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.

1 participant