mirror of
https://github.com/certd/certd.git
synced 2025-11-25 09:10:11 +08:00
chore:
This commit is contained in:
@@ -254,6 +254,9 @@ export class PluginService extends BaseService<PluginEntity> {
|
||||
}).constructor;
|
||||
// const script = await this.compile(plugin.content);
|
||||
const script = plugin.content;
|
||||
const {MaoyunClient} = await import("@certd/plugin-plus")
|
||||
const a :any ={}
|
||||
new MaoyunClient(a)
|
||||
const getPluginClass = new AsyncFunction(script);
|
||||
return await getPluginClass({logger: logger});
|
||||
} catch (e) {
|
||||
|
||||
7657
pnpm-lock.yaml
generated
7657
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user