Skip to content
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
Next Next commit
fix: Move state pull output to stdout
Fixes #1645.
  • Loading branch information
kylecarbs committed Aug 4, 2022
commit 02dd7c79325c070755b23e91bf44c47a5181e4cd
3 changes: 2 additions & 1 deletion cli/state.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package cli

import (
"fmt"
"io"
"os"
"time"
Expand Down Expand Up @@ -50,7 +51,7 @@ func statePull() *cobra.Command {
}

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

Expand Down