We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a71d2b8 commit 14f0d86Copy full SHA for 14f0d86
lib/github.ml
@@ -144,11 +144,9 @@ let gh_link_of_string url_str =
144
with _ -> None
145
in
146
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
+ match Re2.find_submatches_exn compare_basehead_re basehead with
+ | [| _; Some base; _; Some merge |] -> Some (Compare (repo, (base, merge)))
+ | _ | (exception Re2.Exceptions.Regex_match_failed _) -> None
152
153
begin
154
try
0 commit comments