diff --git a/sbt-version-policy/src/main/scala/sbtversionpolicy/SbtVersionPolicySettings.scala b/sbt-version-policy/src/main/scala/sbtversionpolicy/SbtVersionPolicySettings.scala index 523ea30..dc1d9f5 100644 --- a/sbt-version-policy/src/main/scala/sbtversionpolicy/SbtVersionPolicySettings.scala +++ b/sbt-version-policy/src/main/scala/sbtversionpolicy/SbtVersionPolicySettings.scala @@ -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 {