Skip to content

Commit 0e090cf

Browse files
committed
remove unneeded flush (added a new line) which was introduced as a bug fix
1 parent c95ed0d commit 0e090cf

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

jscomp/super_errors/super_location.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ let super_warning_printer loc ppf w =
8686
| `Inactive -> ()
8787
| `Active { Warnings. number = _; message = _; sub_locs = _} ->
8888
setup_colors ();
89-
Format.fprintf ppf "@[<v 2>@,%a@,%s@,@]@."
89+
Format.fprintf ppf "@[<v 2>@,%a@,%s@,@]"
9090
(print ("Warning number " ^ (Warnings.number w |> string_of_int)))
9191
loc
9292
(Warnings.message w);

lib/4.06.1/unstable/js_compiler.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -409781,7 +409781,7 @@ let super_warning_printer loc ppf w =
409781409781
| `Inactive -> ()
409782409782
| `Active { Warnings. number = _; message = _; sub_locs = _} ->
409783409783
setup_colors ();
409784-
Format.fprintf ppf "@[<v 2>@,%a@,%s@,@]@."
409784+
Format.fprintf ppf "@[<v 2>@,%a@,%s@,@]"
409785409785
(print ("Warning number " ^ (Warnings.number w |> string_of_int)))
409786409786
loc
409787409787
(Warnings.message w);

lib/4.06.1/unstable/js_refmt_compiler.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -569877,7 +569877,7 @@ let super_warning_printer loc ppf w =
569877569877
| `Inactive -> ()
569878569878
| `Active { Warnings. number = _; message = _; sub_locs = _} ->
569879569879
setup_colors ();
569880-
Format.fprintf ppf "@[<v 2>@,%a@,%s@,@]@."
569880+
Format.fprintf ppf "@[<v 2>@,%a@,%s@,@]"
569881569881
(print ("Warning number " ^ (Warnings.number w |> string_of_int)))
569882569882
loc
569883569883
(Warnings.message w);

lib/4.06.1/whole_compiler.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -435341,7 +435341,7 @@ let super_warning_printer loc ppf w =
435341435341
| `Inactive -> ()
435342435342
| `Active { Warnings. number = _; message = _; sub_locs = _} ->
435343435343
setup_colors ();
435344-
Format.fprintf ppf "@[<v 2>@,%a@,%s@,@]@."
435344+
Format.fprintf ppf "@[<v 2>@,%a@,%s@,@]"
435345435345
(print ("Warning number " ^ (Warnings.number w |> string_of_int)))
435346435346
loc
435347435347
(Warnings.message w);

0 commit comments

Comments
 (0)