Use CharArray.concatToString() instead of String(charArray)

Proprietary

The String(CharArray) constructor is JVM-only; charArray.concatToString() is the multiplatform Kotlin extension producing the same String.

org.openrewrite.kotlin.migrate.UseConcatToString$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.migrate.UseConcatToString$KtRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.