Skip to content

Commit 2ddc41a

Browse files
authored
Include PR title in workspace context (#8178)
1 parent 44310d9 commit 2ddc41a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lm/pullRequestContextProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Current branch: ${folderManager.repository.state.HEAD?.name ?? 'unknown'}
7171
Default branch: ${defaults.base}`;
7272
if (folderManager.activePullRequest) {
7373
value = `${value}
74-
Active pull request (may not be the same as open pull request): #${folderManager.activePullRequest.number} ${folderManager.activePullRequest.html_url}`;
74+
Active pull request (may not be the same as open pull request): ${folderManager.activePullRequest.title} ${folderManager.activePullRequest.html_url}`;
7575
}
7676
contexts.push({
7777
icon: new vscode.ThemeIcon('github-alt'),

0 commit comments

Comments
 (0)