forgot to add levelQuestions here

v1.18.x
psychobunny 11 years ago
parent 74674c8494
commit 4353adb914

@ -241,7 +241,7 @@ var async = require('async'),
} else { } else {
// Use provided values, fall back to defaults // Use provided values, fall back to defaults
var config = {}, var config = {},
question, x, numQ, allQuestions = install.questions.concat(install.redisQuestions).concat(install.mongoQuestions); question, x, numQ, allQuestions = install.questions.concat(install.redisQuestions).concat(install.mongoQuestions.concat(install.levelQuestions));
for(x=0,numQ=allQuestions.length;x<numQ;x++) { for(x=0,numQ=allQuestions.length;x<numQ;x++) {
question = allQuestions[x]; question = allQuestions[x];
config[question.name] = install.values[question.name] || question['default'] || ''; config[question.name] = install.values[question.name] || question['default'] || '';

Loading…
Cancel
Save