mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 07:15:54 +01:00
bulk - refactor much to be prepared for WorkspaceEditMetadata
This commit is contained in:
@@ -216,7 +216,7 @@ export class MainThreadTextEditors implements MainThreadTextEditorsShape {
|
||||
}
|
||||
|
||||
$tryApplyWorkspaceEdit(dto: IWorkspaceEditDto): Promise<boolean> {
|
||||
const { edits } = reviveWorkspaceEditDto(dto);
|
||||
const { edits } = reviveWorkspaceEditDto(dto)!;
|
||||
return this._bulkEditService.apply({ edits }).then(() => true, _err => false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user