Provide a parameter to bubble up the error while adding/removing workspace folders through API

This commit is contained in:
Sandeep Somavarapu
2017-10-30 14:50:01 +01:00
parent b80ec5ca33
commit cf149f8a75
3 changed files with 10 additions and 8 deletions

View File

@@ -45,7 +45,7 @@ export class MainThreadFileSystem implements MainThreadFileSystemShape {
}
$onDidAddFileSystemRoot(uri: URI): void {
this._workspaceEditingService.addFolders([{ uri }]);
this._workspaceEditingService.addFolders([{ uri }], true);
}
$onFileSystemChange(handle: number, changes: IFileChange[]): void {