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

cmd/geth: fix extra trailing newline in license command #15782

Merged
merged 1 commit into from
Jan 2, 2018

Conversation

karalabe
Copy link
Member

The geth license command currently prints the license, and adds two newlines at the end. This gets flagged (i.e. compile error) on Go 1.10 since fmt.Println already prints a new line, so no need to double it.

Although we could change the code to retain the current functionality, I don't think there's a particular need to print an empty line after the license, so I've just removed the extra newline character.

@fjl fjl merged commit 413cc5b into ethereum:master Jan 2, 2018
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.

2 participants