Skip to content

Commit

Permalink
Set extra-repositories to be empty by default (ocaml-beta-repository …
Browse files Browse the repository at this point in the history
…isn’t useful since opam-2.1/ocaml-4.12)
  • Loading branch information
kit-ty-kate committed Dec 2, 2021
1 parent 7cb76bf commit 6254f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/server_configfile.ml
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ let set_defaults conf =
if Option.is_none conf.default_repository then
conf.default_repository <- Some (Intf.Github.create "ocaml/opam-repository");
if Option.is_none conf.extra_repositories then
conf.extra_repositories <- Some [Intf.Repository.create ~name:"beta" ~github:"ocaml/ocaml-beta-repository" ~for_switches:None];
conf.extra_repositories <- Some [];
if Option.is_none conf.with_test then
conf.with_test <- Some false; (* TODO: Enable by default in the future (takes 1.5x the time) *)
if Option.is_none conf.with_lower_bound then
Expand Down

0 comments on commit 6254f15

Please sign in to comment.