mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: call next
This commit is contained in:
@@ -31,13 +31,13 @@ function setup(initConfig) {
|
||||
}
|
||||
|
||||
prestart.loadConfig(configFile);
|
||||
next();
|
||||
},
|
||||
function (next) {
|
||||
|
||||
if (!nconf.get('no-build')) {
|
||||
build.buildAll(next);
|
||||
} else {
|
||||
setImmediate(next);
|
||||
}
|
||||
}
|
||||
},
|
||||
], function (err, data) {
|
||||
// Disregard build step data
|
||||
data = data[0];
|
||||
|
||||
Reference in New Issue
Block a user