Merge pull request #67 from DamianReeves/fix/scala-3.1

Support Scala 3.1 in sandwich scenario (#66)
This commit is contained in:
eugene yokota 2021-11-01 21:03:12 -04:00 committed by GitHub
commit b92c16a52c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ object VirtualAxis {
private[sbt] def isScala2Scala3Sandwich(sbv1: String, sbv2: String): Boolean = {
def compare(a: String, b: String): Boolean =
a == "2.13" && (b.startsWith("0.") || b.startsWith("3.0"))
a == "2.13" && (b.startsWith("0.") || b.startsWith("3."))
compare(sbv1, sbv2) || compare(sbv2, sbv1)
}