Skip to content

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