From cf9e5f62f1f696287652e7a89a76fc75dd40d543 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 29 Sep 2019 03:03:38 -0400 Subject: [PATCH] Fix test failure due to missing yield --- chrome/content/zotero/xpcom/sync/syncEngine.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/sync/syncEngine.js b/chrome/content/zotero/xpcom/sync/syncEngine.js index 2c8ab88ef5..a708edc553 100644 --- a/chrome/content/zotero/xpcom/sync/syncEngine.js +++ b/chrome/content/zotero/xpcom/sync/syncEngine.js @@ -854,7 +854,7 @@ Zotero.Sync.Data.Engine.prototype._downloadDeletions = Zotero.Promise.coroutine( // If item is already in trash locally, just delete it if (obj.deleted) { Zotero.debug("Local item is in trash -- applying remote deletion"); - obj.eraseTx({ + yield obj.eraseTx({ skipDeleteLog: true }); continue;