mirror of
https://github.com/Microsoft/vscode
synced 2024-10-13 06:48:17 +00:00
Always disable on stable build
This commit is contained in:
parent
fea0743c00
commit
8b77141b7a
|
@ -50,12 +50,11 @@ export class WorkspaceEditingService implements IWorkspaceEditingService {
|
|||
}
|
||||
|
||||
private isSupported(): boolean {
|
||||
if (!this.contextService.hasMultiFolderWorkspace()) {
|
||||
return false; // we need a multi folder workspace to begin with
|
||||
}
|
||||
|
||||
// TODO@Ben multi root
|
||||
return this.environmentService.appQuality !== 'stable'; // not yet enabled in stable
|
||||
return (
|
||||
this.environmentService.appQuality !== 'stable' // not yet enabled in stable
|
||||
&& this.contextService.hasMultiFolderWorkspace() // we need a multi folder workspace to begin with
|
||||
);
|
||||
}
|
||||
|
||||
private doSetRoots(newRoots: URI[]): TPromise<void> {
|
||||
|
@ -87,4 +86,4 @@ export class WorkspaceEditingService implements IWorkspaceEditingService {
|
|||
const validatedRoots = distinct(roots.map(root => root.toString(true /* skip encoding */)));
|
||||
return validatedRoots;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue