fix:修复config合并问题

This commit is contained in:
Jerry 2025-10-04 13:52:29 +08:00
parent 726dc3ef35
commit e2d253a7a9

View File

@ -69,9 +69,6 @@ async function init() {
logger.warn(`[crystelf-plugin] 读取配置文件 ${file} 失败:`, e);
}
}
if (!Array.isArray(configCache)) {
configCache = fc.mergeConfig(configCache, defaultConfig);
}
if (configCache.debug) {
logger.info('[crystelf-plugin] 配置模块初始化成功..');
}