Default configuration moved to config_default.js

This commit is contained in:
Bryan Ashby
2020-06-07 15:26:11 -06:00
parent fd86293dbe
commit 7e006f1c68
3 changed files with 936 additions and 935 deletions

View File

@@ -159,7 +159,7 @@ function askNewConfigQuestions(cb) {
},
function basic(callback) {
getAnswers(QUESTIONS.Basic, answers => {
const defaultConfig = require('../../core/config.js').getDefaultConfig();
const defaultConfig = require('../../core/config_default')();
// start by plopping in values we want directly from config.js
const template = hjson.rt.parse(fs.readFileSync(paths.join(__dirname, '../../misc/config_template.in.hjson'), 'utf8'));