Skip to content

Commit 19a5d82

Browse files
committed
fix
1 parent 1adf1c3 commit 19a5d82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/agent/src/git-manager.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ Generated by PostHog Agent`;
604604
}
605605
}
606606

607-
async getAllPullRequestReviewComments(prNumber: number): Promise<string> {
607+
async getPullRequestReviewComments(prNumber: number): Promise<string> {
608608
try {
609609
// Extract repo from remote URL (format: owner/repo)
610610
const remoteUrl = await this.getRemoteUrl();
@@ -621,6 +621,7 @@ Generated by PostHog Agent`;
621621
}
622622
const repo = repoMatch[1];
623623

624+
// TODO: Paginate if many comments
624625
const output = await this.runCommand(
625626
`gh api repos/${repo}/pulls/${prNumber}/comments`,
626627
);

0 commit comments

Comments
 (0)