diff --git a/jscomp/bin/bsb.ml b/jscomp/bin/bsb.ml index 99fa1118d3..cce38e0fc1 100644 --- a/jscomp/bin/bsb.ml +++ b/jscomp/bin/bsb.ml @@ -6945,13 +6945,12 @@ let set_ocamllex ~cwd s = let get_ocamllex () = !ocamllex - let refmt = ref "refmt" let get_refmt () = !refmt let set_refmt ~cwd p = refmt := resolve_bsb_magic_file ~cwd ~desc:"refmt" p -let refmt_flags = ref [] +let refmt_flags = ref ["--print"; "binary"] let get_refmt_flags () = !refmt_flags let set_refmt_flags s = refmt_flags := get_list_string s diff --git a/jscomp/bsb/bsb_default.ml b/jscomp/bsb/bsb_default.ml index 7b8298f62d..0b64eb0886 100644 --- a/jscomp/bsb/bsb_default.ml +++ b/jscomp/bsb/bsb_default.ml @@ -116,13 +116,12 @@ let set_ocamllex ~cwd s = let get_ocamllex () = !ocamllex - let refmt = ref "refmt" let get_refmt () = !refmt let set_refmt ~cwd p = refmt := resolve_bsb_magic_file ~cwd ~desc:"refmt" p -let refmt_flags = ref [] +let refmt_flags = ref ["--print"; "binary"] let get_refmt_flags () = !refmt_flags let set_refmt_flags s = refmt_flags := get_list_string s