提交 ca61d17f 编写于 作者: I isidor

do not show newFile / newFolder action for nonexistent roots

上级 88e4bd7a
......@@ -65,7 +65,7 @@ class FilesViewerActionContributor extends ActionBarContributor {
}
// Directory Actions
if (stat.isDirectory) {
if (stat.isDirectory && stat.exists) {
// New File
actions.push(this.instantiationService.createInstance(NewFileAction, tree, <FileStat>stat));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册