mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 03:54:24 +01:00
Provide a parameter to bubble up the error while adding/removing workspace folders through API
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user