fix the missing "yield" in line 158 of storageEngine.js (#5394)
Fix the issue where Zotero.Sync.Runner.sync({background: true}) cannot obtain the itemIDs
This commit is contained in:
parent
47f2821a3d
commit
6dbefee007
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ Zotero.Sync.Storage.Engine.prototype.start = Zotero.Promise.coroutine(function*
|
|||
&& this.local.lastFullFileCheck[libraryID]
|
||||
&& (this.local.lastFullFileCheck[libraryID]
|
||||
+ (this.maxCheckAge * 1000)) > new Date().getTime()) {
|
||||
let itemIDs = this.local.getFilesToCheck(libraryID, this.maxCheckAge);
|
||||
let itemIDs = yield this.local.getFilesToCheck(libraryID, this.maxCheckAge);
|
||||
yield this.local.checkForUpdatedFiles(libraryID, itemIDs);
|
||||
}
|
||||
// Otherwise check all files in library
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue