diff --git a/src/install.js b/src/install.js index 58f1952fc2..bc6fb2a433 100644 --- a/src/install.js +++ b/src/install.js @@ -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;