mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
fixed automated setup bug
This commit is contained in:
@@ -150,7 +150,10 @@ function setupConfig(next) {
|
|||||||
} else {
|
} else {
|
||||||
// Use provided values, fall back to defaults
|
// Use provided values, fall back to defaults
|
||||||
var config = {},
|
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<numQ;x++) {
|
for(x=0,numQ=allQuestions.length;x<numQ;x++) {
|
||||||
question = allQuestions[x];
|
question = allQuestions[x];
|
||||||
|
|||||||
Reference in New Issue
Block a user