IJI-9 git init typo fix

This commit is contained in:
Dmitriy.Panov
2018-07-16 14:42:18 +03:00
parent 0f09427c9e
commit 4ef3077e13
@@ -4,7 +4,7 @@ package org.jetbrains.intellij.build.images.sync
import java.io.File
private val GIT = (System.getenv("TEAMCITY_GIT_PATH") ?: "git").also {
val gitVersion = listOf("git", "--version").execute(File(System.getProperty("user.dir")), true)
val gitVersion = listOf(it, "--version").execute(File(System.getProperty("user.dir")), true)
if (gitVersion.isBlank()) throw IllegalStateException("Git is not found")
log(gitVersion)
}