Skip to content

Commit

Permalink
Fix newline in version print output (#667)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrnorm authored May 22, 2024
1 parent 44f29f6 commit 5c9f5bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/assume/entrypoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func GlobalFlags() []cli.Flag {

func GetCliApp() *cli.App {
cli.VersionPrinter = func(c *cli.Context) {
fmt.Printf("Granted version: %s", build.Version)
fmt.Printf("Granted version: %s\n", build.Version)
}

app := &cli.App{
Expand Down
2 changes: 1 addition & 1 deletion pkg/granted/entrypoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (

func GetCliApp() *cli.App {
cli.VersionPrinter = func(c *cli.Context) {
fmt.Printf("Granted version: %s", build.Version)
fmt.Printf("Granted version: %s\n", build.Version)
}

flags := []cli.Flag{
Expand Down

0 comments on commit 5c9f5bd

Please sign in to comment.