Skip to content

Commit 14f0d86

Browse files
committed
github: ocamlfmt
1 parent a71d2b8 commit 14f0d86

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

lib/github.ml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,9 @@ let gh_link_of_string url_str =
144144
with _ -> None
145145
in
146146
let verify_compare_basehead repo basehead =
147-
148-
match Re2.find_submatches_exn compare_basehead_re basehead with
149-
| [| _; Some base; _; Some merge |] -> Some (Compare (repo, (base, merge)))
150-
| _
151-
| exception Re2.Exceptions.Regex_match_failed _ -> None
147+
match Re2.find_submatches_exn compare_basehead_re basehead with
148+
| [| _; Some base; _; Some merge |] -> Some (Compare (repo, (base, merge)))
149+
| _ | (exception Re2.Exceptions.Regex_match_failed _) -> None
152150
in
153151
begin
154152
try

0 commit comments

Comments
 (0)