[Gradle, JS] Change byArgument on byArgumentOrNull
#KT-38485 fixed
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ enum class KotlinJsCompilerType {
|
||||
companion object {
|
||||
const val jsCompilerProperty = "kotlin.js.compiler"
|
||||
|
||||
fun byArgument(argument: String): KotlinJsCompilerType? =
|
||||
fun byArgumentOrNull(argument: String): KotlinJsCompilerType? =
|
||||
values().firstOrNull { it.name.equals(argument, ignoreCase = true) }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user