Skip to content

Commit

Permalink
fix(checkPluginsUpdate): Not All Plugins Status due to Promise.all
Browse files Browse the repository at this point in the history
…Rejection (#1080)

Attempts to Fix were All Plugins Statuses are not Fetched(if a promise rejects) Due to usage of 'Promise.all'(it rejects when any of the input's promises rejects, with this first rejection reason.)
  • Loading branch information
UnschooledGamer authored Nov 20, 2024
1 parent df087f8 commit b5ebefb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/checkPluginsUpdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ export default async function checkPluginsUpdate() {
);
});

await Promise.all(promises);
await Promise.allSettled(promises);
return updates;
}

0 comments on commit b5ebefb

Please sign in to comment.