aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/templating/src/main/kotlin/templates/TemplateProcessor.kt2
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 }