[Gradle, JS] Fix error message for both executable

This commit is contained in:
Ilya Goncharov
2020-06-10 11:23:51 +03:00
parent 83144d59be
commit fdbdc5aac7
@@ -53,7 +53,7 @@ constructor(
if (target is KotlinJsTarget) {
target.irTarget
?.let { throw IllegalStateException("Unfortunately you can't use `executable()` with 'both' compiler type") }
?.let { throw IllegalStateException("Can't use `executable()` with 'both' compiler type") }
target.whenBrowserConfigured {
(this as KotlinJsSubTarget).produceExecutable()