diff options
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt b/core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt index d2321ad9..1a674626 100644 --- a/core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt +++ b/core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt @@ -129,10 +129,7 @@ open class KotlinWebsiteHtmlOutputBuilder( val kotlinVersion = platforms.singleOrNull(String::isKotlinVersion)?.removePrefix("Kotlin ") val jreVersion = platforms.singleOrNull(String::isJREVersion) - val targetPlatforms = - platforms.filterNot { it.isKotlinVersion() || it.isJREVersion() } - .takeUnless { it.intersect(impliedPlatforms).containsAll(impliedPlatforms) } - .orEmpty() + val targetPlatforms = platforms.filterNot { it.isKotlinVersion() || it.isJREVersion() } return mapOf( "platform" to targetPlatforms, |