Skip to content

Commit

Permalink
Use writeTrailingSemicolon for do statements
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbranch committed Aug 28, 2019
1 parent 8dbbf11 commit 62bfb06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/emitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2514,7 +2514,7 @@ namespace ts {
}

emitWhileClause(node, node.statement.end);
writePunctuation(";");
writeTrailingSemicolon();
}

function emitWhileStatement(node: WhileStatement) {
Expand Down

0 comments on commit 62bfb06

Please sign in to comment.