Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolás Ojeda Bär <n.oje.bar@gmail.com>
  • Loading branch information
nojb committed Mar 13, 2019
1 parent 5bd0506 commit 42c94d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exe.ml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ let link_exe
]);
if linkage.ext = ".bc" then
let rules =
if not explicit_js_mode || (explicit_js_mode && has_js) then
if not explicit_js_mode || has_js then
Js_of_ocaml_rules.build_exe cctx ~js_of_ocaml ~src:exe
else
[]
Expand Down

0 comments on commit 42c94d2

Please sign in to comment.