Skip to content

Commit

Permalink
fix: fix #131
Browse files Browse the repository at this point in the history
  • Loading branch information
sj817 committed Aug 14, 2024
1 parent 9d1481d commit 76b789d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/core/plugin/loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,6 @@ class PluginLoader {
const tmp: Array<NewMessagePlugin | AppType> = await import(rootPath)

lodash.forEach(tmp, (Fn) => {
const index = this.index
this.index++

/** 函数语法糖 */
if (typeof Fn === 'object' && Fn?.type) {
logger.debug(`载入插件 [${plugin}]${_path ? `${common.getRelPath(_path)}` : ''}[${file}][${Fn.name}]`)
Expand Down

0 comments on commit 76b789d

Please sign in to comment.