[Gradle, JS] Fix error message for both executable
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user