File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -109,4 +109,4 @@ let refmt = ref None
109109
110110let is_reason = ref false
111111
112- let no_js_stdout = ref false
112+ let js_stdout = ref true
Original file line number Diff line number Diff line change @@ -103,4 +103,4 @@ val jsx_version : int ref
103103val refmt : string option ref
104104val is_reason : bool ref
105105
106- val no_js_stdout : bool ref
106+ val js_stdout : bool ref
Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ let lambda_as_module
301301 (if ! Js_config. bs_suffix then Literals. suffix_bs_js else Literals. suffix_js)
302302 in
303303 let package_info = Js_packages_state. get_packages_info () in
304- if Js_packages_info. is_empty package_info && not ! Js_config. no_js_stdout then
304+ if Js_packages_info. is_empty package_info && ! Js_config. js_stdout then
305305 Js_dump_program. dump_deps_program ~output_prefix NodeJS lambda_output stdout
306306 else
307307 Js_packages_info. iter package_info (fun {module_system; path = _path } ->
Original file line number Diff line number Diff line change @@ -330,9 +330,9 @@ let buckle_script_flags : (string * Arg.spec * string) list =
330330 )
331331
332332 :: Ocaml_options. mk_impl
333- (fun file -> Js_config. no_js_stdout := true ; impl file )
333+ (fun file -> Js_config. js_stdout := false ; impl file )
334334 :: Ocaml_options. mk_intf
335- (fun file -> Js_config. no_js_stdout := true ; intf file)
335+ (fun file -> Js_config. js_stdout := false ; intf file)
336336 :: Ocaml_options. mk__ anonymous
337337 :: Ocaml_options. ocaml_options
338338
You can’t perform that action at this time.
0 commit comments