mirror of
https://github.com/zotero/zotero.git
synced 2026-09-27 01:21:27 +00:00
Fix bug from Bluebird removal
Bluebird had a `Promise.filter` method Fixes failing data directory tests
This commit is contained in:
parent
9f038891ef
commit
e07ac6243c
1 changed files with 1 additions and 1 deletions
|
|
@ -300,7 +300,7 @@ Zotero.Profile = {
|
|||
_findOtherProfiles: async function () {
|
||||
var profileDir = this.dir;
|
||||
var profilesDir = this.getProfilesDir();
|
||||
return this._getProfilesInDir(profilesDir).filter(dir => dir != profileDir);
|
||||
return (await this._getProfilesInDir(profilesDir)).filter(dir => dir != profileDir);
|
||||
},
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue