Skip to content

Commit 147d0f0

Browse files
author
exoego
committed
Remove workaround for Scala 2.13.0-RC1
1 parent 55c0e68 commit 147d0f0

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

build.sbt

+1-10
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,7 @@ scalaVersion in ThisBuild := crossScalaVersions.value.head
1414
val commonSettings = Seq(
1515
version := "0.9.8-SNAPSHOT",
1616
organization := "org.scala-js",
17-
scalacOptions ++= Seq("-deprecation", "-feature", "-Xfatal-warnings"),
18-
19-
// Work around https://github.com/scala-js/scala-js/issues/3612
20-
scalacOptions in (Compile, doc) := {
21-
val prev = (scalacOptions in (Compile, doc)).value
22-
if (scalaJSVersion.startsWith("0.6.") && scalaVersion.value.startsWith("2.13."))
23-
prev.filter(_ != "-Xfatal-warnings")
24-
else
25-
prev
26-
}
17+
scalacOptions ++= Seq("-deprecation", "-feature", "-Xfatal-warnings")
2718
)
2819

2920
normalizedName := "scalajs-dom"

0 commit comments

Comments
 (0)