Skip to content

Commit

Permalink
Simplify condition
Browse files Browse the repository at this point in the history
Co-authored-by: Roberto Tyley <roberto.tyley@gmail.com>
  • Loading branch information
julienrf and rtyley authored Nov 29, 2023
1 parent f9fc70e commit 109465e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ object SbtVersionPolicySettings {
Compatibility.BinaryAndSourceCompatible
} else if (
dependencyIssues.validated(IncompatibilityType.BinaryIncompatibility) &&
mimaIssues.collectFirst { case (IncompatibilityType.BinaryIncompatibility, _) => true }.isEmpty
!mimaIssues.exists(_._1 == IncompatibilityType.BinaryIncompatibility)
) {
Compatibility.BinaryCompatible
} else {
Expand Down

0 comments on commit 109465e

Please sign in to comment.