diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-08-24 09:29:47 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-08-25 08:29:05 +0200 |
commit | 293d8788b5188cb29a8c792e7d54377b57963f3b (patch) | |
tree | bcb7c0b0c3ee9c901a3b0fb04b1618fe0bd6da55 /runners/cli | |
parent | a5d43f6f3fb96a1122c5a85f256d093c48d83ffa (diff) | |
download | dokka-293d8788b5188cb29a8c792e7d54377b57963f3b.tar.gz dokka-293d8788b5188cb29a8c792e7d54377b57963f3b.tar.bz2 dokka-293d8788b5188cb29a8c792e7d54377b57963f3b.zip |
Relative paths fix
Diffstat (limited to 'runners/cli')
-rw-r--r-- | runners/cli/src/main/kotlin/cli/main.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runners/cli/src/main/kotlin/cli/main.kt b/runners/cli/src/main/kotlin/cli/main.kt index a9177ce7..069ef166 100644 --- a/runners/cli/src/main/kotlin/cli/main.kt +++ b/runners/cli/src/main/kotlin/cli/main.kt @@ -246,7 +246,7 @@ private fun parseSourceSet(args: Array<String>): DokkaConfiguration.DokkaSourceS } object ArgTypeFile : ArgType<File>(true) { - override fun convert(value: kotlin.String, name: kotlin.String): File = File(value) + override fun convert(value: kotlin.String, name: kotlin.String): File = Paths.get(value).toRealPath().toFile() override val description: kotlin.String get() = "{ String that points to file path }" } |