getWorkspace2 => getWorkspace

This commit is contained in:
Benjamin Pasero
2017-07-03 17:07:05 +02:00
parent fa6b8f15c6
commit 81e1e9b8db
38 changed files with 69 additions and 69 deletions

View File

@@ -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;
}