mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15:46 +01:00
removed extra vars
This commit is contained in:
@@ -145,7 +145,7 @@ function setupConfig(next) {
|
|||||||
var config = {},
|
var config = {},
|
||||||
redisQuestions = require('./database/redis').questions,
|
redisQuestions = require('./database/redis').questions,
|
||||||
mongoQuestions = require('./database/mongo').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) {
|
allQuestions.forEach(function (question) {
|
||||||
config[question.name] = install.values[question.name] || question['default'] || undefined;
|
config[question.name] = install.values[question.name] || question['default'] || undefined;
|
||||||
|
|||||||
Reference in New Issue
Block a user