*await on plugin loading
This commit is contained in:
parent
2d30390fa2
commit
3600fbfdcf
|
@ -163,7 +163,7 @@ export class PluginAPIManager {
|
||||||
this.registeredPlugins.set(plugin.name, plugin);
|
this.registeredPlugins.set(plugin.name, plugin);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
plugin.plugin(
|
await plugin.plugin(
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
new Proxy<PluginAPI>(getPluginAPI(), {
|
new Proxy<PluginAPI>(getPluginAPI(), {
|
||||||
get(target: PluginAPI, prop: string): any {
|
get(target: PluginAPI, prop: string): any {
|
||||||
|
|
Loading…
Reference in New Issue