mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-20 17:46:47 +00:00
Re-enable github comments instead of logging
This commit is contained in:
parent
27354ca764
commit
7a83d05aaf
7 changed files with 13 additions and 29505 deletions
13
dist/index.js
vendored
13
dist/index.js
vendored
|
@ -343,13 +343,12 @@ ${chunk.changes
|
|||
});
|
||||
const comments = yield analyzeCode(filteredDiff, prDetails);
|
||||
if (comments.length > 0) {
|
||||
// await createReviewComment(
|
||||
// prDetails.owner,
|
||||
// prDetails.repo,
|
||||
// prDetails.pull_number,
|
||||
// comments
|
||||
// );
|
||||
yield console.log("Comments:", comments);
|
||||
yield createReviewComment(
|
||||
prDetails.owner,
|
||||
prDetails.repo,
|
||||
prDetails.pull_number,
|
||||
comments
|
||||
);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue