aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base/src/main/kotlin')
-rw-r--r--plugins/base/src/main/kotlin/renderers/FileWriter.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/FileWriter.kt b/plugins/base/src/main/kotlin/renderers/FileWriter.kt
index 236cbad8..181295c0 100644
--- a/plugins/base/src/main/kotlin/renderers/FileWriter.kt
+++ b/plugins/base/src/main/kotlin/renderers/FileWriter.kt
@@ -66,7 +66,7 @@ class FileWriter(val context: DokkaContext): OutputWriter {
val filePath = file.toAbsolutePath().toString()
withContext(Dispatchers.IO) {
Paths.get(root, rebase(filePath)).toFile().writeBytes(
- javaClass.getResourceAsStream(filePath).readBytes()
+ this@FileWriter.javaClass.getResourceAsStream(filePath).readBytes()
)
}
}