From e07ac6243c3284b430feab005d95054bf3c668b1 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 27 Jul 2025 00:34:23 -0400 Subject: [PATCH] Fix bug from Bluebird removal Bluebird had a `Promise.filter` method Fixes failing data directory tests --- chrome/content/zotero/xpcom/profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/profile.js b/chrome/content/zotero/xpcom/profile.js index e4471adb2a..0fddf82973 100644 --- a/chrome/content/zotero/xpcom/profile.js +++ b/chrome/content/zotero/xpcom/profile.js @@ -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); },