mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 07:33:12 +09:00
Warn when multiple plugins of the same name are detected
This commit is contained in:
1 parent
f95e1d2998
commit
37fed2064e
2 files changed
+27
-8
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user