mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-12-05 15:41:56 +00:00
fix:修复config合并问题
This commit is contained in:
parent
726dc3ef35
commit
e2d253a7a9
@ -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] 配置模块初始化成功..');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user