This commit is contained in:
陆柯 2022-03-12 09:33:45 +08:00
parent 5f1a46b28e
commit 8d3f4b2350

View File

@ -88,8 +88,8 @@ module.exports = {
showEnvi() {
let envi = JSON.parse(JSON.stringify(global.EnviConfig))
for (let key in envi) {
if (my.secretKeys.hasOwnProperty(key)) {
envi[key] = '******'
if (my.secretKeys.includes(key)) {
envi[key] = '***confidential***'
}
}
console.log(envi)