Skip to content

Commit 00c806a

Browse files
committed
Don't mix up printf and formatter.
Fixes #481
1 parent ab26fc2 commit 00c806a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

analysis/reanalyze/src/EmitJson.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
let items = ref 0
2-
let start () = Format.fprintf Format.std_formatter "["
3-
let finish () = Format.fprintf Format.std_formatter "\n]@."
2+
let start () = Printf.printf "["
3+
let finish ()= Printf.printf "\n]\n"
44
let emitClose () = "\n}"
55

66
let emitItem ~ppf ~name ~kind ~file ~range ~message =

0 commit comments

Comments
 (0)