Warn when multiple plugins of the same name are detected

This commit is contained in:
Danielv123 committed 2024-11-26 08:49:30 +00:00
1 parent f95e1d2998
commit 37fed2064e
2 files changed
+27 -8

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ export async function loadPluginInfos(pluginList: Map<string, string>) {
try {
require.resolve(pluginPath);
} catch (err) {
logger.warn(`Plugin path ${pluginPath} does not exist, removing ${pluginName}`);
logger.warn(`Plugin path ${pluginPath} does not exist, not loading ${pluginName}`);
pluginList.delete(pluginName);
continue;
}