Skip to content

Commit

Permalink
Added New Line to command 'generate-id' (#2941)
Browse files Browse the repository at this point in the history
Signed-off-by: João Reigota <[email protected]>
  • Loading branch information
joaoReigota1 authored Apr 21, 2021
1 parent fe8d3ad commit 623cb06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/console/generate_id.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func NewGenerateIDCmd() *cobra.Command {
Use: "generate-id",
Short: "Generates uuid for query",
RunE: func(cmd *cobra.Command, args []string) error {
_, err := fmt.Fprint(cmd.OutOrStdout(), uuid.New().String())
_, err := fmt.Fprintln(cmd.OutOrStdout(), uuid.New().String())
if err != nil {
log.Err(err).Msg("failed to get uuid")
}
Expand Down

0 comments on commit 623cb06

Please sign in to comment.