Skip to content

Commit 87ece01

Browse files
authored
Merge pull request #522 from scala-js/fix-ci
Fix CI detection
2 parents c410de9 + 7d330a3 commit 87ece01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ ThisBuild / crossScalaVersions := {
2828
}
2929
ThisBuild / scalaVersion := crossScalaVersions.value.find(_.startsWith("2.13.")).get
3030

31-
val inCI = Option(System.getenv("CI")).exists(_.contains("1"))
31+
val inCI = sys.props.get("CI").exists(_.contains("1"))
3232

3333
val commonSettings = Seq(
3434
organization := "org.scala-js",

0 commit comments

Comments
 (0)