bug fix: globalthis
is mis-spelled. Removed this line.
This commit is contained in:
parent
b7b8355ce1
commit
87b60bf581
@ -25,9 +25,9 @@ module.exports = {
|
||||
// 目前的解决方案里,已通过 base2app 参数来确保只在发送给前端时才设置 undefined,但为防万一,在这里通过 JSON.stringify 确保删除了 undefined
|
||||
assign_deep(rawEnvar, JSON.parse(JSON.stringify(newEnvar)))
|
||||
globalThis.wo?.cclog?.(`envarTool.start_watching: OK reload ${onpath}`)
|
||||
globalthis.wo?.eventCenter?.emit?.('ENVAR_UPDATED', { envarFile: onpath })
|
||||
} catch (expt) {
|
||||
globalThis.wo?.cclog?.(`envarTool.start_watching: Fail reload ${onpath}`)
|
||||
globalThis.wo?.ccerror?.(expt)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user