removed extra vars

v1.18.x
barisusakli 9 years ago
parent b3f63e0a0d
commit 3d0e412bfd

@ -145,7 +145,7 @@ function setupConfig(next) {
var config = {},
redisQuestions = require('./database/redis').questions,
mongoQuestions = require('./database/mongo').questions,
question, x, numQ, allQuestions = questions.main.concat(questions.optional).concat(redisQuestions).concat(mongoQuestions);
allQuestions = questions.main.concat(questions.optional).concat(redisQuestions).concat(mongoQuestions);
allQuestions.forEach(function (question) {
config[question.name] = install.values[question.name] || question['default'] || undefined;

Loading…
Cancel
Save