We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0af01c0 commit 94dbc42Copy full SHA for 94dbc42
src/core/costrict/code-review/codeReviewService.ts
@@ -271,9 +271,9 @@ export class CodeReviewService {
271
try {
272
this.logger.info("[CodeReview] Review Task completed")
273
274
- const message = task.clineMessages.find(
275
- (msg) => msg.type === "say" && msg.text?.includes("I-AM-CODE-REVIEW-REPORT-V1"),
276
- )
+ const message = [...task.clineMessages]
+ .reverse()
+ .find((msg) => msg.type === "say" && msg.text?.includes("I-AM-CODE-REVIEW-REPORT-V1"))
277
278
if (message?.text) {
279
const { issues, review_task_id } = await this.getIssues(message.text, targets)
0 commit comments