提交 92eedf89 编写于 作者: M Martin Aeschlimann

open workspace button in every window

上级 b95e51b7
......@@ -138,7 +138,7 @@ export class OpenWorkspaceButtonContribution extends Disposable implements IEdit
return false; // we need a model
}
if (model.uri.scheme !== Schemas.file || hasWorkspaceFileExtension(model.uri.fsPath)) {
if (model.uri.scheme !== Schemas.file || !hasWorkspaceFileExtension(model.uri.fsPath)) {
return false; // we need a local workspace file
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册