Homebrew bottle builder and tap manager for OCaml monorepos
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Format: ocamlformat whitespace fix in bottle_checksums

+4 -3
+4 -3
lib/homebrew.ml
··· 763 763 match Astring.String.find_sub ~start:i ~sub:"-" basename with 764 764 | None -> (basename, "") 765 765 | Some pos -> 766 - if pos + 1 < String.length basename 767 - && basename.[pos + 1] >= '0' 768 - && basename.[pos + 1] <= '9' 766 + if 767 + pos + 1 < String.length basename 768 + && basename.[pos + 1] >= '0' 769 + && basename.[pos + 1] <= '9' 769 770 then 770 771 ( String.sub basename 0 pos, 771 772 String.sub basename (pos + 1)