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
109
109
110
110
let is_reason = ref false
111
111
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
103
103
val refmt : string option ref
104
104
val is_reason : bool ref
105
105
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
301
301
(if ! Js_config. bs_suffix then Literals. suffix_bs_js else Literals. suffix_js)
302
302
in
303
303
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
305
305
Js_dump_program. dump_deps_program ~output_prefix NodeJS lambda_output stdout
306
306
else
307
307
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 =
330
330
)
331
331
332
332
:: 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 )
334
334
:: 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)
336
336
:: Ocaml_options. mk__ anonymous
337
337
:: Ocaml_options. ocaml_options
338
338
You can’t perform that action at this time.
0 commit comments