diff --git a/packages/lib/services/plugins/PluginService.ts b/packages/lib/services/plugins/PluginService.ts index 7a216e0c1..c5d48729b 100644 --- a/packages/lib/services/plugins/PluginService.ts +++ b/packages/lib/services/plugins/PluginService.ts @@ -281,7 +281,7 @@ export default class PluginService extends BaseService { } for (const pluginPath of pluginPaths) { - if (pluginPath.indexOf('_') === 0) { + if (filename(pluginPath).indexOf('_') === 0) { logger.info(`Plugin name starts with "_" and has not been loaded: ${pluginPath}`); continue; }