mirror of
https://github.com/certd/certd.git
synced 2026-05-19 07:08:57 +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) {
|
||||
|
||||
Generated
+3255
-4402
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user