Skip to content

Commit

Permalink
Fix toBooleanLenient
Browse files Browse the repository at this point in the history
  • Loading branch information
dhoepelman committed Dec 25, 2024
1 parent 92c071c commit 4e19ed3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import org.gradle.internal.extensions.stdlib.capitalized
import org.jetbrains.kotlin.cli.common.toBooleanLenient
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
Expand All @@ -19,7 +18,7 @@ val kotlinApiTarget = "1.7"
val jvm = JvmTarget.JVM_1_8

/** The "CI" env var is a quasi-standard way to indicate that we're running on CI. */
val onCI: Boolean = System.getenv("CI")?.toBooleanLenient() ?: false
val onCI: Boolean = System.getenv("CI") == "true"

plugins {
alias(libs.plugins.kotest.multiplatform)
Expand Down

0 comments on commit 4e19ed3

Please sign in to comment.