Skip to content

Commit

Permalink
Merge pull request #397 from samoht/fix-395
Browse files Browse the repository at this point in the history
Fix issue with #395
  • Loading branch information
Leonidas-from-XIV authored Sep 4, 2023
2 parents fe0ae6e + e42ab38 commit 809848c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
(#376 @Leonidas-from-XIV, @gridbugs)

- Improve the ordering of package candidates by putting broken packages at
then end of the list (#395, @samoht)
then end of the list (#395, #397, @samoht)

### Removed

Expand Down
2 changes: 1 addition & 1 deletion lib/opam_solve.ml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ module Opam_monorepo_context (Base_context : BASE_CONTEXT) :
match opam_res with
| Ok opam ->
if Opam.avoid_version opam then (regular, e :: avoid, broken)
else (regular, avoid, e :: broken)
else (e :: regular, avoid, broken)
| Error _ -> (regular, avoid, e :: broken))
in
List.rev_append regular (List.rev_append avoid broken)
Expand Down

0 comments on commit 809848c

Please sign in to comment.