Added end of line when outputs json

This commit is contained in:
David Paz 2017-07-05 12:12:23 +02:00
parent 9de4d35959
commit 511a56838d

View File

@ -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) {