Skip to content

Commit 6394de7

Browse files
authored
Merge pull request #233 from the-docta/main
remove duplicate if-comment
2 parents 0ece85d + c718e65 commit 6394de7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/printer.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,6 @@ const printer: Printer<XMLAst> = {
116116
);
117117
}
118118

119-
if (children.Comment) {
120-
response = response.concat(path.map(printIToken, "Comment"));
121-
}
122-
123119
if (children.PROCESSING_INSTRUCTION) {
124120
response = response.concat(
125121
path.map(printIToken, "PROCESSING_INSTRUCTION")

0 commit comments

Comments
 (0)