mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Update variable misname
This commit is contained in:
parent
135a162106
commit
d52eeec75d
|
@ -1272,7 +1272,7 @@ export class Repository implements Disposable {
|
|||
|
||||
const diffEditorTabsToClose: Tab[] = [];
|
||||
|
||||
for (const tab of window.tabGroups.groups.map(g => g.tabs).flat()) {
|
||||
for (const tab of window.tabGroups.all.map(g => g.tabs).flat()) {
|
||||
const { kind } = tab;
|
||||
if (kind instanceof TabKindTextDiff || kind instanceof TabKindNotebookDiff) {
|
||||
if (kind.modified.scheme === 'git' && indexResources.some(r => pathEquals(r, kind.modified.fsPath))) {
|
||||
|
|
Loading…
Reference in a new issue