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