[Kotlin] Minor: remove an unnecessary step in a fast return

KTIJ-30945

GitOrigin-RevId: be239610f9a6c0e59c23048873a6b94fd732112d
This commit is contained in:
Pavel Kirpichenkov
2024-10-17 18:04:59 +00:00
committed by intellij-monorepo-bot
parent e43cafddb8
commit 6dfc53b736
@@ -141,7 +141,7 @@ internal class KotlinCopyPasteStringTemplatePostProcessor : CopyPastePostProcess
} catch (e: Throwable) {
if (e is ControlFlowException) throw e
LOG.error(e)
ReplacementResult.KeepPreprocessed
return
}
val replacementText = when (replacementResult) {