aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorSzymon Świstun <sswistun@virtuslab.com>2019-12-18 11:23:14 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-01-08 10:45:08 +0100
commitd843dd66c10d6d5b6c555b89a994e2c2519c2f19 (patch)
treef3e8f678427f3803dfbd7f9dc199babe7cb05911 /core/src
parenta0a5fc5e362c38ee0592ce5332bbec02131ebbd2 (diff)
downloaddokka-d843dd66c10d6d5b6c555b89a994e2c2519c2f19.tar.gz
dokka-d843dd66c10d6d5b6c555b89a994e2c2519c2f19.tar.bz2
dokka-d843dd66c10d6d5b6c555b89a994e2c2519c2f19.zip
drop removed
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/kotlin/transformers/documentation/DefaultDocumentationNodeMerger.kt2
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,