Get rid of explicit value case manipulations.

This commit is contained in:
Alexander Gorshenev
2017-12-15 17:26:35 +03:00
committed by alexander-gorshenev
parent d237afdea5
commit ff49153e79
7 changed files with 47 additions and 25 deletions
@@ -33,7 +33,7 @@ import org.jetbrains.kotlin.konan.target.TargetManager
import java.io.File
internal val Project.host
get() = TargetManager.host.name.toLowerCase()
get() = TargetManager.host.userName
internal val Project.simpleOsName
get() = TargetManager.simpleOsName()