fix another case of fscache breaking mkdirp

pull/295/head
nightwing 2016-04-25 21:37:14 +00:00
rodzic 67c113afef
commit ac63dd89ec
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -369,10 +369,10 @@ define(function(require, exports, module) {
createNode(dir, {mime: "folder"});
});
if (!dirsToMake[0])
var node = dirsToMake[0] && findNode(dirsToMake[0]);
if (!node)
return;
var node = findNode(dirsToMake[0]);
e.undo = function(){
dirsToMake.forEach(function(dir) {
var node = findNode(dir);