node-karin 0.12.21 → 0.12.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -329,7 +329,7 @@ class PluginLoader {
|
|
|
329
329
|
return true;
|
|
330
330
|
}
|
|
331
331
|
if (typeof Fn !== 'function' || !Fn?.prototype?.constructor)
|
|
332
|
-
return
|
|
332
|
+
return true;
|
|
333
333
|
const Class = new Fn();
|
|
334
334
|
if (!Class.name) {
|
|
335
335
|
logger.error(`[${plugin}]${_path ? `${common.getRelPath(_path)}` : ''}[${file}] 插件名称错误`);
|