Fix compilation
This commit is contained in:
parent
ed36b02fde
commit
cd4d1c95ae
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ export class WorkspaceEditingService implements IWorkspaceEditingService {
|
|||
return this.doSetRoots(roots.filter(root => rootsToRemoveRaw.indexOf(root.toString()) === -1));
|
||||
}
|
||||
|
||||
public clearRoots(roots: URI[]): TPromise<void> {
|
||||
public clearRoots(): TPromise<void> {
|
||||
if (!this.contextService.hasWorkspace()) {
|
||||
return TPromise.as(void 0); // we need a workspace to begin with
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue