Fix test failure due to missing yield

This commit is contained in:
Dan Stillman 2019-09-29 03:03:38 -04:00
parent 44d4586242
commit cf9e5f62f1

View file

@ -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;