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