Renamed for clarity

master
Mark Moffat 2020-03-20 20:13:59 +10:30
parent da34f3e63c
commit 225e7aa9c7
2 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -31,7 +31,7 @@ const ajv = new Ajv({ useDefaults: true });
// get config
const config = common.getConfig();
const baseConfig = ajv.validate(require('./config/baseSchema'), config);
const baseConfig = ajv.validate(require('./config/settingsSchema'), config);
if(baseConfig === false){
console.log(colors.red(`settings.json incorrect: ${ajv.errorsText()}`));
process.exit(2);