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

Commit 2e1682c

Browse files
coderabbitai[bot]CodeRabbit
andauthored
fix: apply CodeRabbit auto-fixes
Fixed 3 file(s) based on 1 unresolved review comment. Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
1 parent db7d392 commit 2e1682c

3 files changed

Lines changed: 5 additions & 31 deletions

File tree

dist/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42914,7 +42914,7 @@ async function nagToLinkJiraIssue(comments) {
4291442914
const alreadyCommented = comments.some(
4291542915
(comment) =>
4291642916
comment.user?.login === authUserLogin &&
42917-
comment.body.includes(nagMarkerComment)
42917+
comment.body?.includes(nagMarkerComment)
4291842918
)
4291942919

4292042920
if (!alreadyCommented) {

index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ async function nagToLinkJiraIssue(comments) {
200200
const alreadyCommented = comments.some(
201201
(comment) =>
202202
comment.user?.login === authUserLogin &&
203-
comment.body.includes(nagMarkerComment)
203+
comment.body?.includes(nagMarkerComment)
204204
)
205205

206206
if (!alreadyCommented) {

package-lock.json

Lines changed: 3 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)