Skip to content

Commit 4c21bf5

Browse files
committed
remove regex comment after testing
1 parent 36d904c commit 4c21bf5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/compiler/parser.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8682,7 +8682,6 @@ namespace Parser {
86828682
});
86838683

86848684
function removeLeadingNewlines(comments: string) {
8685-
// TODO: Also a regex would work, and perhaps faster
86868685
let i = 0;
86878686
while (i < comments.length && (comments[i] === "\n" || comments[i] === "\r")) {
86888687
i++;

0 commit comments

Comments
 (0)