mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Plugins: Fixed disabling plugin files that start with "_"
This commit is contained in:
parent
3ed0083e94
commit
bc76e4a918
@ -281,7 +281,7 @@ export default class PluginService extends BaseService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (const pluginPath of pluginPaths) {
|
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}`);
|
logger.info(`Plugin name starts with "_" and has not been loaded: ${pluginPath}`);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user