mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
Fix potentiall undefined ref
This commit is contained in:
@@ -121,7 +121,11 @@ export class ExtHostEditors implements ExtHostEditorsShape {
|
||||
workspaceResourceEdits.push(workspaceResourceEdit);
|
||||
}
|
||||
|
||||
return this._proxy.$tryApplyWorkspaceEdit(workspaceResourceEdits, edit);
|
||||
return this._proxy.$tryApplyWorkspaceEdit(workspaceResourceEdits, {
|
||||
createdResources: edit.createdResources,
|
||||
renamedResources: edit.renamedResources,
|
||||
deletedResources: edit.deletedResources
|
||||
});
|
||||
}
|
||||
|
||||
// --- called from main thread
|
||||
|
||||
Reference in New Issue
Block a user