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

Commit

Permalink
fix: plugin loading order
Browse files Browse the repository at this point in the history
  • Loading branch information
sidwebworks committed Aug 16, 2022
1 parent 4896323 commit 185c61d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/core/src/modules/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ export class PluginsManager {
}

if (next instanceof Promise) {
next.then((prog) => {
this.program = prog;
return next.then((p) => {
this.program = p;
});
} else {
this.program = next;
}

this.program = next;
});
}

Expand Down

0 comments on commit 185c61d

Please sign in to comment.