Skip to content

Commit d42d63b

Browse files
committed
fix, return should be break instead
1 parent 3f8e66c commit d42d63b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/slangPrinter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function ignoreComments(path: AstPath<AstNode>): void {
4646
if (typeof childNode === 'object') {
4747
if (Array.isArray(childNode)) {
4848
path.each(ignoreComments, key);
49-
return;
49+
break;
5050
}
5151
path.call(ignoreComments, key);
5252
}

0 commit comments

Comments
 (0)