Use environment variable for getting TEAMCITY_VERSION

This commit is contained in:
Nikolay Krasko
2021-04-05 18:50:12 +03:00
committed by TeamCityServer
parent 02e37dceeb
commit 3757bd0c1f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import java.io.IOException
import kotlin.io.path.*
object GeneratorsFileUtil {
val isTeamCityBuild: Boolean = System.getProperty("TEAMCITY_VERSION") != null
val isTeamCityBuild: Boolean = System.getenv("TEAMCITY_VERSION") != null
@OptIn(ExperimentalPathApi::class)
@JvmStatic