mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
bubble up errors from workspace add/remove
This commit is contained in:
@@ -63,7 +63,7 @@ export class MainThreadWorkspace implements MainThreadWorkspaceShape {
|
||||
return TPromise.as(false);
|
||||
}
|
||||
|
||||
return this._workspaceEditingService.addFolders([{ uri, name }]).then(() => true);
|
||||
return this._workspaceEditingService.addFolders([{ uri, name }], true).then(() => true);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ export class MainThreadWorkspace implements MainThreadWorkspaceShape {
|
||||
return TPromise.as(false);
|
||||
}
|
||||
|
||||
return this._workspaceEditingService.removeFolders([uri]).then(() => true);
|
||||
return this._workspaceEditingService.removeFolders([uri], true).then(() => true);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user