Skip to content

Commit

Permalink
chore: version command should use cmd.Print (#32)
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Zantow <[email protected]>
  • Loading branch information
kzantow authored Nov 27, 2023
1 parent fa3e390 commit c8add39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func VersionCommand(id Identification, additions ...versionAddition) *cobra.Comm

value, err := versionInfo(info, format, additions...)
if err == nil {
fmt.Print(value)
cmd.Print(value)
}
return err
},
Expand Down

0 comments on commit c8add39

Please sign in to comment.