Merge pull request #63 from dpaz/issue60

Added end of line when outputs json
This commit is contained in:
Santiago M. Mola 2017-07-05 14:07:59 +02:00 committed by GitHub
commit d3f79d9a37

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