Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pull/206'
Browse files Browse the repository at this point in the history
* origin/pull/206:
  Add trailing newline to JSON output
  • Loading branch information
Foxboron committed Mar 25, 2023
2 parents 53ecab0 + a41d7da commit d1817b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/sbctl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func JsonOut(v interface{}) error {
return fmt.Errorf("could not marshal json: %w", err)
}
logging.PrintOn()
logging.Print(string(b))
logging.Println(string(b))
// Json should always be the last print call, but lets safe it :)
logging.PrintOff()
return nil
Expand Down

0 comments on commit d1817b9

Please sign in to comment.