From 2bab59fee39cd60ad80327d528771015a5903639 Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Mon, 29 Apr 2019 11:29:23 +0200 Subject: Fix for analysis platform --- integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'integration/src/main/kotlin/org/jetbrains') diff --git a/integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt b/integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt index 49481089..7c6753d4 100644 --- a/integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt +++ b/integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt @@ -18,7 +18,7 @@ enum class Platform(val key: String) { js.key -> js native.key -> native common.key -> common - else -> TODO("write normal exception") + else -> throw IllegalArgumentException("Unrecognized platform: $key") } } } -- cgit