Skip to content

Commit

Permalink
Merge pull request #35 from RinkiyaKeDad/newline_output_fix
Browse files Browse the repository at this point in the history
fixed extra line at the end of json output
  • Loading branch information
k8s-ci-robot authored Apr 22, 2021
2 parents f29c2f0 + bf859ff commit 863c8de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/cycles.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ var cyclesCmd = &cobra.Command{
if err != nil {
return err
}
fmt.Println(string(outputRaw))
fmt.Print(string(outputRaw))
}
return nil
},
Expand Down
2 changes: 1 addition & 1 deletion cmd/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ var statsCmd = &cobra.Command{
if err != nil {
return err
}
fmt.Println(string(outputRaw))
fmt.Print(string(outputRaw))
}
return nil
},
Expand Down

0 comments on commit 863c8de

Please sign in to comment.