Skip to content

Commit

Permalink
Remove extra newline from version command
Browse files Browse the repository at this point in the history
The version command prints two new lines at the end. This PR removes
one of them.
  • Loading branch information
alemorcuq committed Jan 17, 2024
1 parent 2e91c94 commit 0eb8f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/dt/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var versionCmd = &cobra.Command{
if Commit != "" {
msg += fmt.Sprintf("Git Commit: %s\n", Commit)
}
fmt.Printf("%s\n", msg)
fmt.Print(msg)
os.Exit(0)
},
}
Expand Down

0 comments on commit 0eb8f78

Please sign in to comment.