diff --git a/project/MySettings.scala b/project/MySettings.scala index a394ad5b7..48daaaf48 100644 --- a/project/MySettings.scala +++ b/project/MySettings.scala @@ -57,7 +57,7 @@ object MySettings { lazy val commonScalaJsSettings = Seq( scalacOptions ++= Seq("-P:scalajs:sjsDefinedByDefault").filter { _ => - Option(System.getenv("SCALAJS_VERSION")).filter(_.nonEmpty).getOrElse("1.1.0").startsWith("0.6.") + Option(System.getenv("SCALAJS_VERSION")).exists(_.startsWith("0.6.")) }, scalaJSLinkerConfig ~= { _.withModuleKind(ModuleKind.CommonJSModule)