Skip to content

Set stdout correctly #232

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

Merged
merged 1 commit into from
Jan 7, 2020
Merged

Set stdout correctly #232

merged 1 commit into from
Jan 7, 2020

Conversation

akshayjshah
Copy link
Contributor

The cmd.Do function takes a writer to use as standard out, but doesn't
use it. Instead, there's a duplicate call to cobra.Command.SetErr.
This patch replaces one of the duplicates with SetOut.

The `cmd.Do` function takes a writer to use as standard out, but doesn't
use it. Instead, there's a duplicate call to `cobra.Command.SetErr`.
This patch replaces one of the duplicates with `SetOut`.
@kyleconroy
Copy link
Collaborator

Thanks!

@kyleconroy kyleconroy merged commit 663405c into sqlc-dev:master Jan 7, 2020
@akshayjshah akshayjshah deleted the ajs/stdout branch April 5, 2020 18:59
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