Skip to content

fix: Move state pull output to stdout #3382

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 2 commits into from
Aug 4, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update cli/state.go
Co-authored-by: Abhineet Jain <AbhineetJain@users.noreply.github.com>
  • Loading branch information
kylecarbs and AbhineetJain authored Aug 4, 2022
commit b04770c21587846ca12901f1741f4b1f25a30288
2 changes: 1 addition & 1 deletion cli/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func statePull() *cobra.Command {
}

if len(args) < 2 {
fmt.Fprintln(cmd.OutOrStdout(), string(state))
_, _ = fmt.Fprintln(cmd.OutOrStdout(), string(state))
return nil
}

Expand Down