Skip to content

Commit b5ebefb

Browse files
fix(checkPluginsUpdate): Not All Plugins Status due to Promise.all 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.)
1 parent df087f8 commit b5ebefb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/checkPluginsUpdate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ export default async function checkPluginsUpdate() {
2525
);
2626
});
2727

28-
await Promise.all(promises);
28+
await Promise.allSettled(promises);
2929
return updates;
3030
}

0 commit comments

Comments
 (0)