Future proof config objects that haven't been parsed

This commit is contained in:
Anton Vilhelm Ásgeirsson 2019-06-01 22:24:55 +00:00 committed by Oliver Blanthorn
parent 4aac98ef65
commit 752375569b
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -1484,7 +1484,7 @@ const parseConfigHelper = (pconf, parseobj) => {
if (pconf[i][e] === 4) level = "debug"
parseobj.logging.push(`set logging.${e} ${level}`)
} else {
parseobj.conf.push(`set ${i}.${e} ${pconf[i][e]}`)
parseobj.conf.push(`js tri.config.set("${i}", {"${e}": ${JSON.stringify(pconf[i][e])}})`)
}
}
}