[sledge] Minor simplification of outputting Report

Reviewed By: jvillard

Differential Revision: D24306088

fbshipit-source-id: f95356dca
master
Josh Berdine 4 years ago committed by Facebook GitHub Bot
parent e2f0aab454
commit 73be4779ab

@ -127,9 +127,8 @@ let name = ref ""
let output entry =
Option.iter !chan ~f:(fun chan ->
Out_channel.output_string chan
(Sexp.to_string (sexp_of_t {name= !name; entry})) ;
Out_channel.newline chan )
Out_channel.output_lines chan
[Sexp.to_string (sexp_of_t {name= !name; entry})] )
let init ?append filename =
(chan :=

Loading…
Cancel
Save