From e3fdf22d59812c0e4903491085fac3d614128ae4 Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Thu, 23 Apr 2020 15:37:42 +0200 Subject: Fix creating absolute paths for output files --- plugins/base/src/main/kotlin/renderers/FileWriter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/base/src/main/kotlin') diff --git a/plugins/base/src/main/kotlin/renderers/FileWriter.kt b/plugins/base/src/main/kotlin/renderers/FileWriter.kt index fff16e48..236cbad8 100644 --- a/plugins/base/src/main/kotlin/renderers/FileWriter.kt +++ b/plugins/base/src/main/kotlin/renderers/FileWriter.kt @@ -11,7 +11,7 @@ import java.nio.file.* class FileWriter(val context: DokkaContext): OutputWriter { private val createdFiles: MutableSet = mutableSetOf() private val jarUriPrefix = "jar:file:" - private val root = File(context.configuration.outputDir).absolutePath + private val root = context.configuration.outputDir override suspend fun write(path: String, text: String, ext: String) { if (createdFiles.contains(path)) { -- cgit