Skip to content

Commit

Permalink
remove extra newlines from output
Browse files Browse the repository at this point in the history
  • Loading branch information
justmiles committed Oct 8, 2020
1 parent 9f61d7b commit b50f1c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func RenderAsCSV(i interface{}) error {
if err != nil {
return err
}
fmt.Println(string(data))
fmt.Print(string(data))
return nil

}
Expand All @@ -143,7 +143,7 @@ func RenderAsJSON(i interface{}) error {
return err
}

fmt.Println(string(data))
fmt.Print(string(data))
return nil

}

0 comments on commit b50f1c8

Please sign in to comment.