File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -316,14 +316,13 @@ let wasmoo ~dir sctx =
316316 " wasm_of_ocaml"
317317;;
318318
319- let jsoo_has_shapes ( mode : Js_of_ocaml.Mode.t ) jsoo_version =
320- match mode, jsoo_version with
321- | JS , Some version ->
319+ let jsoo_has_shapes jsoo_version =
320+ match jsoo_version with
321+ | Some version ->
322322 (match Version. compare version (6 , 1 ) with
323323 | Lt -> false
324324 | Gt | Eq -> true )
325- | Wasm , Some _version -> false
326- | _ , None -> false
325+ | None -> false
327326;;
328327
329328type sub_command =
@@ -628,7 +627,7 @@ let build_cm' sctx ~dir ~in_context ~mode ~src ~target ~config ~shapes ~sourcema
628627 Action_builder. of_memo @@ Version. jsoo_version jsoo
629628 in
630629 let + shapes =
631- match jsoo_has_shapes mode jsoo_version with
630+ match jsoo_has_shapes jsoo_version with
632631 | false -> Action_builder. return []
633632 | true -> shapes
634633 in
You can’t perform that action at this time.
0 commit comments