mirror of https://github.com/certd/certd
chore:
parent
09779cd1e1
commit
e77f7244ba
|
@ -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
7657
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue