Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

Commit 96d81ca

Browse files
authored
fix (#221)
1 parent 163d9f7 commit 96d81ca

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

dist/index.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/review.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,13 @@ export const codeReview = async (
6868
SUMMARIZE_TAG,
6969
context.payload.pull_request.number
7070
)
71+
let existing_commit_ids_block = ''
7172
if (existing_summarize_cmt) {
7273
inputs.raw_summary = commenter.get_raw_summary(existing_summarize_cmt.body)
74+
existing_commit_ids_block = getReviewedCommitIdsBlock(
75+
existing_summarize_cmt.body
76+
)
7377
}
74-
const existing_commit_ids_block = getReviewedCommitIdsBlock(
75-
existing_summarize_cmt?.body
76-
)
7778

7879
const allCommitIds = await getAllCommitIds()
7980
// find highest reviewed commit id

0 commit comments

Comments
 (0)