mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-10 05:28:19 -05:00
fixes #51381
This commit is contained in:
@@ -168,7 +168,7 @@ function saveAll(saveAllArguments: any, editorService: IEditorService, untitledE
|
||||
editorGroupService.groups.forEach(g => {
|
||||
g.editors.forEach(e => {
|
||||
const resource = e.getResource();
|
||||
if (untitledEditorService.isDirty(resource)) {
|
||||
if (resource && untitledEditorService.isDirty(resource)) {
|
||||
if (!groupIdToUntitledResourceInput.has(g.id)) {
|
||||
groupIdToUntitledResourceInput.set(g.id, []);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user