[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2024-12-31 02:46:28 +00:00 committed by GitHub
parent 952e1708b1
commit 8484ddace5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

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