Skip to content

Commit d3bec0d

Browse files
authored
1 parent 45289d3 commit d3bec0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3539,7 +3539,7 @@
35393539
},
35403540
{
35413541
"command": "pr.closeChatSessionPullRequest",
3542-
"when": "chatSessionType == copilot-swe-agent || chatSessionType == copilot-cloud-agent",
3542+
"when": "chatSessionType == copilot-swe-agent",
35433543
"group": "context"
35443544
},
35453545
{

src/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ export function registerCommands(
10231023
Logger.warn(`No pull request found in chat session`, logId);
10241024
return;
10251025
}
1026-
pr.close();
1026+
await pr.close();
10271027
copilotRemoteAgentManager.refreshChatSessions();
10281028
}
10291029

0 commit comments

Comments
 (0)