Skip to content

Commit 0dd5a9f

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 0dd5a9f

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎Cargo.lock‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎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
}

‎orion/Cargo.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ dotenvy = { workspace = true }
2020
tokio-tungstenite = { workspace = true, features = ["native-tls"] }
2121
tungstenite = { workspace = true }
2222
serde_json = { workspace = true }
23+
reqwest = { workspace = true, features = ["json"] }
2324
url = { workspace = true }
2425
uuid = { workspace = true, features = ["v4"] }
2526
anyhow = { workspace = true }

0 commit comments

Comments
 (0)