From 8496bdcff61c3d2c4cd68154e536c15a6b2aef7c Mon Sep 17 00:00:00 2001 From: psychobunny Date: Mon, 14 Apr 2014 15:26:42 -0400 Subject: [PATCH] fixed automated setup bug --- src/install.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/install.js b/src/install.js index 1420856ce8..b133c68438 100644 --- a/src/install.js +++ b/src/install.js @@ -150,7 +150,10 @@ function setupConfig(next) { } else { // Use provided values, fall back to defaults var config = {}, - question, x, numQ, allQuestions = questions.main.concat(questions.redis).concat(questions.mongo.concat(questions.level)); + redisQuestions = require('./database/redis').questions, + mongoQuestions = require('./database/mongo').questions, + levelQuestions = require('./database/level').questions, + question, x, numQ, allQuestions = questions.main.concat(redisQuestions).concat(mongoQuestions.concat(levelQuestions)); for(x=0,numQ=allQuestions.length;x