Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Commit 08d3c9a

Browse files
committed
fix ts errors
1 parent d239beb commit 08d3c9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/comment-handler-sizes.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ const postCommentToPullRequest = async (
4949

5050
for (const comment of comments.data) {
5151
if (
52-
comment.body.includes("# Handler Size Report") &&
53-
comment.user.login === "slsnextbot"
52+
comment.body?.includes("# Handler Size Report") &&
53+
comment.user?.login === "slsnextbot"
5454
) {
5555
existingCommentId = comment.id;
5656
}

0 commit comments

Comments
 (0)