mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-09-20 15:31:21 +00:00
Added end of line when outputs json
This commit is contained in:
parent
9de4d35959
commit
511a56838d
@ -119,6 +119,7 @@ func printBreakDown(out map[string][]string, buff *bytes.Buffer) {
|
|||||||
func printJson(out map[string][]string, buff *bytes.Buffer) {
|
func printJson(out map[string][]string, buff *bytes.Buffer) {
|
||||||
data, _ := json.Marshal(out)
|
data, _ := json.Marshal(out)
|
||||||
buff.Write(data)
|
buff.Write(data)
|
||||||
|
buff.WriteByte('\n')
|
||||||
}
|
}
|
||||||
|
|
||||||
func printPercents(out map[string][]string, buff *bytes.Buffer) {
|
func printPercents(out map[string][]string, buff *bytes.Buffer) {
|
||||||
|
Loading…
Reference in New Issue
Block a user