mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 13:03:42 +01:00
getWorkspace2 => getWorkspace
This commit is contained in:
@@ -43,13 +43,13 @@ export class MainThreadWorkspace extends MainThreadWorkspaceShape {
|
||||
// --- workspace ---
|
||||
|
||||
private _onDidChangeWorkspace(): void {
|
||||
this._proxy.$acceptWorkspaceData(this._contextService.getWorkspace2());
|
||||
this._proxy.$acceptWorkspaceData(this._contextService.getWorkspace());
|
||||
}
|
||||
|
||||
// --- search ---
|
||||
|
||||
$startSearch(include: string, exclude: string, maxResults: number, requestId: number): Thenable<URI[]> {
|
||||
const workspace = this._contextService.getWorkspace2();
|
||||
const workspace = this._contextService.getWorkspace();
|
||||
if (!workspace) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user