Skip to content

Commit d7e0fe0

Browse files
committed
silence build warnings
1 parent 0eafa28 commit d7e0fe0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ lazy val collectionContrib = crossProject(JVMPlatform, JSPlatform)
2121
Compile / compile / scalacOptions ++= {
2222
CrossVersion.partialVersion(scalaVersion.value) match {
2323
case Some((2, _)) => Seq("-opt-warnings", "-Werror", "-Wconf:origin=scala.collection.IterableOps.toIterable:s")
24-
case Some((3, _)) => Seq("-Xfatal-warnings", "-Wconf:cat=deprecation:s")
24+
case _ => Seq("-Xfatal-warnings", "-Wconf:cat=deprecation:s")
2525
}
2626
},
2727
Compile / doc / scalacOptions ++= {
2828
CrossVersion.partialVersion(scalaVersion.value) match {
2929
case Some((2, _)) => Seq("-implicits", "-groups", "-nowarn")
30-
case Some((3, _)) => Seq.empty
30+
case _ => Seq.empty
3131
}
3232
},
3333
testOptions += Tests.Argument(TestFrameworks.JUnit, "-q", "-v", "-s", "-a"),

0 commit comments

Comments
 (0)