From: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Tue, 31 Dec 2024 02:46:28 +0000 (+0000) Subject: [autofix.ci] apply automated fixes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8484ddace56060cd46ef288a15cad40f6d176e4f;p=thirdparty%2Fvuejs%2Fcore.git [autofix.ci] apply automated fixes --- diff --git a/packages/compiler-vapor/src/generators/if.ts b/packages/compiler-vapor/src/generators/if.ts index cccb1607f1..198c588cd7 100644 --- a/packages/compiler-vapor/src/generators/if.ts +++ b/packages/compiler-vapor/src/generators/if.ts @@ -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)