Merge pull request +13671 from c9/ide-fix-mkdirp

fix another case of fscache breaking mkdirp
pull/295/head
Harutyun Amirjanyan 2016-04-26 01:47:08 +04:00
commit ddcf9a3171
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);