We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c453eae commit 28b76d5Copy full SHA for 28b76d5
1 file changed
src/view/reviewManager.ts
@@ -683,7 +683,7 @@ export class ReviewManager extends Disposable {
683
for (const tabGroup of vscode.window.tabGroups.all) {
684
for (const tab of tabGroup.tabs) {
685
// Check if this is a TabInputTextMultiDiff with matching label
686
- if (tab.input instanceof vscode.TabInputTextMultiDiff && tab.label === multiDiffLabel) {
+ if (tab.input instanceof vscode.TabInputTextMultiDiff && tab.label.startsWith(multiDiffLabel)) {
687
Logger.appendLine(`Closing outdated multidiff editor for PR #${pullRequest.number}`, this.id);
688
closePromises.push(Promise.resolve(vscode.window.tabGroups.close(tab)));
689
}
0 commit comments