Skip to content

Commit 0e1b7b7

Browse files
committed
null check is not needed
1 parent 6686b43 commit 0e1b7b7

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/slangPrinter.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ function genericPrint(
5757
): Doc {
5858
const { node } = path;
5959

60-
if (node === null) {
61-
return '';
62-
}
63-
6460
if (hasNodeIgnoreComment(node)) {
6561
ignoreComments(path);
6662

0 commit comments

Comments
 (0)