Skip to content

Commit e1caac4

Browse files
author
Adis Durakovic
committed
fix: method collission
1 parent d5d11ff commit e1caac4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/parsers.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,13 +477,12 @@ export class CommentParser {
477477
this.parsedFiles[file] = newdata;
478478
}
479479

480-
// fix for decorators
481-
482480
const comments = extract(newdata);
483481
if (comments.length > 0) {
484482
comments.forEach((comment) => {
485483
if (comment.type !== "BlockComment") return;
486484
let lines = comment.value.split("\n").filter((l) => l != "");
485+
// fix for decorators
487486
if (lines[0].trim() !== "@" + action) return;
488487
lines = lines.filter((l) => l != "");
489488

0 commit comments

Comments
 (0)