We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c88363 commit 02e1f30Copy full SHA for 02e1f30
1 file changed
src/lm/tools/fetchIssueTool.ts
@@ -50,7 +50,7 @@ export class FetchIssueTool extends RepoToolBase<FetchIssueToolParameters> {
50
body: issueOrPullRequest.body,
51
comments: issueOrPullRequest.item.comments?.map(c => ({ body: c.body, author: c.author.login })) ?? []
52
};
53
- if (issueOrPullRequest instanceof PullRequestModel) {
+ if (issueOrPullRequest instanceof PullRequestModel && issueOrPullRequest.isResolved()) {
54
const fileChanges = await issueOrPullRequest.getFileChangesInfo();
55
const fetchedFileChanges: FileChange[] = [];
56
for (const fileChange of fileChanges) {
0 commit comments