Skip to content

Commit 88c9bfa

Browse files
Copilotweswigham
andcommitted
Fix trailing whitespace in esnext.ts
Co-authored-by: weswigham <2932786+weswigham@users.noreply.github.com>
1 parent 957cf79 commit 88c9bfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/transformers/esnext.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ export function transformESNext(context: TransformationContext): (x: SourceFile
319319
// Wrap the original loop body in an additional block scope to handle shadowing
320320
// Don't create an extra block if the original statement is empty or contains only empty statements
321321
const isEmptyBlock = isBlock(node.statement) && (
322-
node.statement.statements.length === 0 ||
322+
node.statement.statements.length === 0 ||
323323
node.statement.statements.every(stmt => stmt.kind === SyntaxKind.EmptyStatement)
324324
);
325325
const shouldWrapInBlock = !isEmptyBlock;

0 commit comments

Comments
 (0)