Skip to content

Commit

Permalink
chore(cmd): add a newline after printing token so it doesn't run into…
Browse files Browse the repository at this point in the history
… shell prompt (#2887)

minor annoyance where running `auth admin` always has the token output
run right into the next shell prompt.
  • Loading branch information
ramin authored Nov 2, 2023
1 parent 7d9c596 commit ddd3d6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func AuthCmd(fsets ...*flag.FlagSet) *cobra.Command {
if err != nil {
return err
}
fmt.Printf("%s", token)
fmt.Printf("%s\n", token)
return nil
},
}
Expand Down

0 comments on commit ddd3d6a

Please sign in to comment.