Skip to content

Commit ec4a95c

Browse files
橙林JackLian
authored andcommitted
fix: fix proxy plugins.delete not added async
1 parent 04f5416 commit ec4a95c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/shell/src/api/plugins.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ export class Plugins implements IPublicApiPlugins {
6666
return this[pluginsSymbol].has(pluginName);
6767
}
6868

69-
delete(pluginName: string) {
70-
this[pluginsSymbol].delete(pluginName);
69+
async delete(pluginName: string) {
70+
return await this[pluginsSymbol].delete(pluginName);
7171
}
7272

7373
toProxy() {

0 commit comments

Comments
 (0)