小调整

pull/437/head
王良 2025-01-15 16:23:39 +08:00
parent d2f3f8fb45
commit 8ecc120766
1 changed files with 1 additions and 2 deletions

View File

@ -110,7 +110,7 @@ const configApi = {
let remoteConfig
try {
remoteConfig = jsonApi.parse(body)
} catch (e) {
} catch {
log.error(`远程配置内容格式不正确, url: ${remoteConfigUrl}, body: ${body}`)
remoteConfig = null
}
@ -212,7 +212,6 @@ const configApi = {
doDiff: mergeApi.doDiff,
/**
* 读取 config.json 合并配置
* @returns {*}
*/
reload () {
const configPath = _getConfigPath()