aboutsummaryrefslogtreecommitdiff
path: root/integration/src
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2019-04-29 11:29:23 +0200
committerKamil Doległo <kamilok1965@interia.pl>2019-04-29 11:31:26 +0200
commit2bab59fee39cd60ad80327d528771015a5903639 (patch)
tree56395a99ba22930af2dc7a6b7bd504b96aef51cf /integration/src
parent06af978842577ad19639b827cf33c4514347afa4 (diff)
downloaddokka-2bab59fee39cd60ad80327d528771015a5903639.tar.gz
dokka-2bab59fee39cd60ad80327d528771015a5903639.tar.bz2
dokka-2bab59fee39cd60ad80327d528771015a5903639.zip
Fix for analysis platform
Diffstat (limited to 'integration/src')
-rw-r--r--integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt2
1 files changed, 1 insertions, 1 deletions
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")
}
}
}