mirror of
https://github.com/certd/certd.git
synced 2026-04-24 12:27:25 +08:00
fix: 修复plugins为null的问题
This commit is contained in:
@@ -25,6 +25,9 @@ export class Executor {
|
|||||||
if (plugin == null) {
|
if (plugin == null) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if (this.plugins == null) {
|
||||||
|
this.plugins = {}
|
||||||
|
}
|
||||||
this.plugins[plugin.name] = plugin
|
this.plugins[plugin.name] = plugin
|
||||||
if (plugin.define) {
|
if (plugin.define) {
|
||||||
const define = plugin.define()
|
const define = plugin.define()
|
||||||
|
|||||||
Reference in New Issue
Block a user