Skip to content

Commit eefd6d0

Browse files
committed
reformat
1 parent 6476177 commit eefd6d0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/dune_rules/jsoo/jsoo_rules.ml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -250,16 +250,16 @@ end = struct
250250
| [] -> acc
251251
| "--enable" :: ("effects" | "use-js-string") :: rest -> loop acc rest
252252
| maybe_enable :: rest when String.is_prefix maybe_enable ~prefix:"--enable=" ->
253-
(match String.drop_prefix maybe_enable ~prefix:"--enable=" with
254-
| Some ("effects" | "use-js-string") -> loop acc rest
255-
| Some _ -> loop (maybe_enable :: acc) rest
256-
| None -> assert false)
253+
(match String.drop_prefix maybe_enable ~prefix:"--enable=" with
254+
| Some ("effects" | "use-js-string") -> loop acc rest
255+
| Some _ -> loop (maybe_enable :: acc) rest
256+
| None -> assert false)
257257
| "--disable" :: ("effects" | "use-js-string") :: rest -> loop acc rest
258258
| maybe_disable :: rest when String.is_prefix maybe_disable ~prefix:"--disable=" ->
259-
(match String.drop_prefix maybe_disable ~prefix:"--disable=" with
260-
| Some ("effects" | "use-js-string") -> loop acc rest
261-
| Some _ -> loop (maybe_disable :: acc) rest
262-
| None -> assert false)
259+
(match String.drop_prefix maybe_disable ~prefix:"--disable=" with
260+
| Some ("effects" | "use-js-string") -> loop acc rest
261+
| Some _ -> loop (maybe_disable :: acc) rest
262+
| None -> assert false)
263263
| "--effects" :: _backend :: rest -> loop acc rest
264264
| maybe_effects :: rest when String.is_prefix maybe_effects ~prefix:"--effects=" ->
265265
loop acc rest

0 commit comments

Comments
 (0)