Skip to content

Commit

Permalink
Fix issue with tarides#395
Browse files Browse the repository at this point in the history
  • Loading branch information
samoht committed Sep 3, 2023
1 parent fe0ae6e commit e42ab38
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 e42ab38

Please sign in to comment.