diff options
author | aSemy <897017+aSemy@users.noreply.github.com> | 2023-02-21 12:37:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-21 12:37:37 +0100 |
commit | ecd2d337967244add2d52d7b7456a21d8e6ede54 (patch) | |
tree | b9bf23beff844f13c3a56e424414b85c11fdeda9 /plugins/templating/src | |
parent | fa22175d91fd63b833c537990b79569fa3e2f97d (diff) | |
download | dokka-ecd2d337967244add2d52d7b7456a21d8e6ede54.tar.gz dokka-ecd2d337967244add2d52d7b7456a21d8e6ede54.tar.bz2 dokka-ecd2d337967244add2d52d7b7456a21d8e6ede54.zip |
Initialize nested directories in `TemplateProcessor`
#2866
Diffstat (limited to 'plugins/templating/src')
-rw-r--r-- | plugins/templating/src/main/kotlin/templates/TemplateProcessor.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/templating/src/main/kotlin/templates/TemplateProcessor.kt b/plugins/templating/src/main/kotlin/templates/TemplateProcessor.kt index 01c10067..95ac476f 100644 --- a/plugins/templating/src/main/kotlin/templates/TemplateProcessor.kt +++ b/plugins/templating/src/main/kotlin/templates/TemplateProcessor.kt @@ -53,7 +53,7 @@ class DefaultSubmoduleTemplateProcessor( coroutineScope { val source = this@visit if (source.isDirectory) { - target.mkdir() + target.mkdirs() val files = source.list().orEmpty() val accWithSelf = configuredModulesPaths[source.absolutePath] ?.takeIf { files.firstOrNull { !it.startsWith(".") } != null } |