From ec212119cc4d07c4fc51aedcc981991f4f26d01c Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 24 Jun 2016 16:35:43 -0400 Subject: [PATCH] More zipDirectory debugging --- chrome/content/zotero/xpcom/file.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/xpcom/file.js b/chrome/content/zotero/xpcom/file.js index 2fb8c10ca..33e5b068d 100644 --- 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);