From 563e5b5196161cb2ca341c947de7bea3379a7838 Mon Sep 17 00:00:00 2001 From: Nikita Miazin Date: Thu, 30 Nov 2023 09:32:35 +0200 Subject: [PATCH] fix WrapInsteadOfLift inspections --- .../inspections/mistakes/WrapInsteadOfLiftInspection.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/zio/intellij/inspections/mistakes/WrapInsteadOfLiftInspection.scala b/src/main/scala/zio/intellij/inspections/mistakes/WrapInsteadOfLiftInspection.scala index dd058f4f..722be3e0 100644 --- a/src/main/scala/zio/intellij/inspections/mistakes/WrapInsteadOfLiftInspection.scala +++ b/src/main/scala/zio/intellij/inspections/mistakes/WrapInsteadOfLiftInspection.scala @@ -93,7 +93,7 @@ final class QuickFix( override protected def doApplyFix(element: ScExpression)(implicit project: Project): Unit = element.replace( - createExpressionFromText(s"${zioType.name}.from$wrappedEffect($prefix${replaceWith.getText}", element)( + createExpressionFromText(s"${zioType.name}.from$wrappedEffect($prefix${replaceWith.getText})", element)( element.projectContext ) )