[Gradle, JS] Fix error message for both executable
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ constructor(
|
|||||||
|
|
||||||
if (target is KotlinJsTarget) {
|
if (target is KotlinJsTarget) {
|
||||||
target.irTarget
|
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 {
|
target.whenBrowserConfigured {
|
||||||
(this as KotlinJsSubTarget).produceExecutable()
|
(this as KotlinJsSubTarget).produceExecutable()
|
||||||
|
|||||||
Reference in New Issue
Block a user