Skip to content

Commit

Permalink
chore: set default cobra output to os.Stdout (chainloop-dev#1549)
Browse files Browse the repository at this point in the history
Signed-off-by: Jose I. Paris <[email protected]>
  • Loading branch information
jiparis authored Nov 20, 2024
1 parent 630646d commit 5371cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/cli/cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func NewVersionCmd() *cobra.Command {
Use: "version",
Short: "Command line version",
Run: func(cmd *cobra.Command, args []string) {
cmd.Printf("%s version %s\n", appName, Version)
fmt.Printf("%s version %s\n", appName, Version)
},
}
}
Expand Down

0 comments on commit 5371cc3

Please sign in to comment.