diff options
author | Szymon Świstun <sswistun@virtuslab.com> | 2019-12-18 11:23:14 +0100 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-01-08 10:45:08 +0100 |
commit | d843dd66c10d6d5b6c555b89a994e2c2519c2f19 (patch) | |
tree | f3e8f678427f3803dfbd7f9dc199babe7cb05911 /core/src/main | |
parent | a0a5fc5e362c38ee0592ce5332bbec02131ebbd2 (diff) | |
download | dokka-d843dd66c10d6d5b6c555b89a994e2c2519c2f19.tar.gz dokka-d843dd66c10d6d5b6c555b89a994e2c2519c2f19.tar.bz2 dokka-d843dd66c10d6d5b6c555b89a994e2c2519c2f19.zip |
drop removed
Diffstat (limited to 'core/src/main')
-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, |