diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/kotlin/transformers/documentation/DefaultDocumentationNodeMerger.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/transformers/documentation/DefaultDocumentationNodeMerger.kt b/core/src/main/kotlin/transformers/documentation/DefaultDocumentationNodeMerger.kt index 626038f5..a2867504 100644 --- a/core/src/main/kotlin/transformers/documentation/DefaultDocumentationNodeMerger.kt +++ b/core/src/main/kotlin/transformers/documentation/DefaultDocumentationNodeMerger.kt @@ -8,7 +8,7 @@ import org.jetbrains.dokka.utilities.DokkaConsoleLogger internal object DefaultDocumentationNodeMerger : DocumentationNodeMerger { override fun invoke(modules: Collection<Module>, context: DokkaContext): Module { - if (!modules.drop(1).all { it.name == modules.first().name }) + if (!modules.all { it.name == modules.first().name }) DokkaConsoleLogger.error("All module names need to be the same") return Module( modules.first().name, |