]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
[autofix.ci] apply automated fixes
authorautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Tue, 31 Dec 2024 02:46:28 +0000 (02:46 +0000)
committerGitHub <noreply@github.com>
Tue, 31 Dec 2024 02:46:28 +0000 (02:46 +0000)
packages/compiler-vapor/src/generators/if.ts

index cccb1607f179c74161b85e3aa723fccfd3d2f30f..198c588cd7926b7586621c14f749af3c52c5e427 100644 (file)
@@ -14,9 +14,9 @@ export function genIf(
   const [frag, push] = buildCodeFragment()
 
   const codes: CodeFragment[] = [
-    isNested?undefined:'() => (',
+    isNested ? undefined : '() => (',
     ...genExpression(condition, context),
-    isNested?undefined:')',
+    isNested ? undefined : ')',
   ]
 
   let positiveArg = genBlock(positive, context)