Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit 5e2f26b

Browse files
authored
Merge pull request #251 from exoego/matrix
Simplify scalacOptions for Scala.js 0.6
2 parents d345e33 + a730276 commit 5e2f26b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/MySettings.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ object MySettings {
5757

5858
lazy val commonScalaJsSettings = Seq(
5959
scalacOptions ++= Seq("-P:scalajs:sjsDefinedByDefault").filter { _ =>
60-
Option(System.getenv("SCALAJS_VERSION")).filter(_.nonEmpty).getOrElse("1.1.0").startsWith("0.6.")
60+
Option(System.getenv("SCALAJS_VERSION")).exists(_.startsWith("0.6."))
6161
},
6262
scalaJSLinkerConfig ~= {
6363
_.withModuleKind(ModuleKind.CommonJSModule)

0 commit comments

Comments
 (0)