Skip to content

Commit 177b55c

Browse files
committed
tweak, duplicated test
1 parent 05a6ac5 commit 177b55c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

jscomp/core/lam_compile_main.ml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,6 @@ let lambda_as_module
295295
(lambda_output : J.deps_program)
296296
(output_prefix : string)
297297
: unit =
298-
if not !Js_config.cmj_only then begin
299298
let basename =
300299
Ext_namespace.change_ext_ns_suffix
301300
(Filename.basename
@@ -326,7 +325,7 @@ let lambda_as_module
326325
) output_chan )
327326

328327
#end
329-
end
328+
330329
(* We can use {!Env.current_unit = "Pervasives"} to tell if it is some specific module,
331330
We need handle some definitions in standard libraries in a special way, most are io specific,
332331
includes {!Pervasives.stdin, Pervasives.stdout, Pervasives.stderr}

0 commit comments

Comments
 (0)