Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxingbaoyu committed Oct 12, 2022
1 parent 2b49666 commit 0cf343d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-generator/src/printer.ts
Expand Up @@ -641,7 +641,7 @@ class Printer {

if (noLineTerminator && !this._noLineTerminator) {
this._noLineTerminator = true;
this._printTrailingComments(node, parent, trailingCommentsLineOffset);
this._printTrailingComments(node, parent);
this._noLineTerminator = false;
} else {
this._printTrailingComments(node, parent, trailingCommentsLineOffset);
Expand Down

0 comments on commit 0cf343d

Please sign in to comment.