More zipDirectory debugging

This commit is contained in:
Dan Stillman 2016-06-24 16:35:43 -04:00
parent 62de330bef
commit ec212119cc

View file

@ -734,6 +734,7 @@ Zotero.File = new function(){
iterator = new OS.File.DirectoryIterator(path); iterator = new OS.File.DirectoryIterator(path);
yield iterator.forEach(Zotero.Promise.coroutine(function* (entry) { yield iterator.forEach(Zotero.Promise.coroutine(function* (entry) {
Zotero.debug(entry); Zotero.debug(entry);
Zotero.debug((yield OS.File.stat(entry.path)).isDir);
if (entry.isSymLink) { if (entry.isSymLink) {
Zotero.debug("Skipping symlink " + entry.name); Zotero.debug("Skipping symlink " + entry.name);