Skip to content
This repository was archived by the owner on Oct 19, 2026. It is now read-only.

Commit 7787293

Browse files
fix(web): satisfy padding-line-between-statements in ReviewerEventItem
Unblocks the ESLint step on the moon dependency bump PR. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 83f547d commit 7787293

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎moon/apps/web/components/ClView/ReviewerEventItem.tsx‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,19 @@ export function parseReviewerEventComment(comment?: string | null): ReviewerEven
2424
const text = comment.trim()
2525

2626
let match = text.match(/^(\S+)\s+assigned a new reviewer\s+(\S+)$/)
27+
2728
if (match) {
2829
return { kind: 'assigned', actor: match[1], reviewer: match[2] }
2930
}
3031

3132
match = text.match(/^(\S+)\s+removed reviewer\s+(\S+)$/)
33+
3234
if (match) {
3335
return { kind: 'removed', actor: match[1], reviewer: match[2] }
3436
}
3537

3638
match = text.match(/^(\S+)\s+resolved a review$/)
39+
3740
if (match) {
3841
return { kind: 'resolved', actor: match[1] }
3942
}

0 commit comments

Comments
 (0)