Skip to content

Commit 28b76d5

Browse files
committed
Clean up
1 parent c453eae commit 28b76d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/view/reviewManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ export class ReviewManager extends Disposable {
683683
for (const tabGroup of vscode.window.tabGroups.all) {
684684
for (const tab of tabGroup.tabs) {
685685
// Check if this is a TabInputTextMultiDiff with matching label
686-
if (tab.input instanceof vscode.TabInputTextMultiDiff && tab.label === multiDiffLabel) {
686+
if (tab.input instanceof vscode.TabInputTextMultiDiff && tab.label.startsWith(multiDiffLabel)) {
687687
Logger.appendLine(`Closing outdated multidiff editor for PR #${pullRequest.number}`, this.id);
688688
closePromises.push(Promise.resolve(vscode.window.tabGroups.close(tab)));
689689
}

0 commit comments

Comments
 (0)