fix issue with hidden files getting shown sometimes

pull/282/head
nightwing 2016-03-29 01:17:40 +04:00
rodzic 81fe8edb8a
commit 8e6a46e749
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -568,6 +568,11 @@ define(function(require, exports, module) {
modified.push(parent);
if (i !== parts.length - 1) {
node = {label: p, path: subPath, status: "pending", isFolder: true};
// TODO filter hidden files in getChildren instead.
if (!showHidden && isFileHidden(p)) {
orphans[node.path] = path;
return;
}
} else if (updateNode) {
deleteNode(updateNode, true);
node = updateNode;