commit ec212119cc4d07c4fc51aedcc981991f4f26d01c
parent 62de330bef17c2b1d48fd773dfc18095e6cdca0a
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 24 Jun 2016 16:35:43 -0400
More zipDirectory debugging
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/file.js b/chrome/content/zotero/xpcom/file.js
@@ -734,6 +734,7 @@ Zotero.File = new function(){
iterator = new OS.File.DirectoryIterator(path);
yield iterator.forEach(Zotero.Promise.coroutine(function* (entry) {
Zotero.debug(entry);
+ Zotero.debug((yield OS.File.stat(entry.path)).isDir);
if (entry.isSymLink) {
Zotero.debug("Skipping symlink " + entry.name);