Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #245 from jupyterlab/fix-federated-extensions
Browse files Browse the repository at this point in the history
Fix handling of federated extensions
  • Loading branch information
jtpio authored Oct 9, 2021
2 parents bb73190 + 4251386 commit 552abaa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,14 +290,13 @@ async function main() {
});

// Add the federated extensions.
// TODO: Add support for disabled extensions
const federatedExtensions = await Promise.allSettled(
federatedExtensionPromises
);
federatedExtensions.forEach(p => {
if (p.status === 'fulfilled') {
for (let plugin of activePlugins(p.value)) {
baseMods.push(plugin);
mods.push(plugin);
}
} else {
console.error(p.reason);
Expand Down

0 comments on commit 552abaa

Please sign in to comment.