diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2020-04-16 16:31:50 +0200 |
---|---|---|
committer | Kamil Doległo <kamilok1965@interia.pl> | 2020-04-16 16:31:50 +0200 |
commit | acc2670f6d641880325bb9826a202486a9410c24 (patch) | |
tree | af58d1c93b7a80db7fb3dd5bd95a5aa11dc70ebb /buildSrc/src/main | |
parent | c72b5dab616d4f1fc47fb11bc5c8f9baa01240c6 (diff) | |
download | dokka-acc2670f6d641880325bb9826a202486a9410c24.tar.gz dokka-acc2670f6d641880325bb9826a202486a9410c24.tar.bz2 dokka-acc2670f6d641880325bb9826a202486a9410c24.zip |
Fix a bug in CrossPlatformExec.kt that prevented Windows from running mvn
Diffstat (limited to 'buildSrc/src/main')
-rw-r--r-- | buildSrc/src/main/kotlin/org/jetbrains/CrossPlatformExec.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildSrc/src/main/kotlin/org/jetbrains/CrossPlatformExec.kt b/buildSrc/src/main/kotlin/org/jetbrains/CrossPlatformExec.kt index a68329d8..e02bdd61 100644 --- a/buildSrc/src/main/kotlin/org/jetbrains/CrossPlatformExec.kt +++ b/buildSrc/src/main/kotlin/org/jetbrains/CrossPlatformExec.kt @@ -35,7 +35,7 @@ open class CrossPlatformExec : AbstractExecTask<CrossPlatformExec>(CrossPlatform return extensions.map { extension -> resolveCommandFromFile(Paths.get("$command$extension")) - }.firstOrNull() ?: command + }.firstOrNull { it.isNotBlank() } ?: command } private fun resolveCommandFromFile(commandFile: Path) = |