-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix comment debug #23
Changes from all commits
a8a3c1d
b757418
7a81e12
d74ac7c
51d07c4
0a7d9b5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. test comment 5 showed a message that a recommending comment has been already been posted 👍
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { type Comment } from './types'; | ||
import { ACTION_IDENTIFY_TEXT } from './constants'; | ||
|
||
export function getExistingCommentUrl(comments: Comment[]): string | undefined { | ||
const comment = comments.find((comment) => | ||
comment.body?.startsWith(ACTION_IDENTIFY_TEXT), | ||
); | ||
return comment?.html_url; | ||
} |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test comment 1
showed message that recommending comment is not needed yet 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test comment 2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test comment 3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test comment 4
showed a message that a recommending comment is posted 👍