提交 8b77141b 编写于 作者: F Felix Becker 提交者: GitHub

Always disable on stable build

上级 fea0743c
......@@ -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;
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册