mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
error checks missing return
This commit is contained in:
@@ -220,7 +220,7 @@ install.installDbDependencies = function(server_conf, next) {
|
||||
|
||||
npm.load({}, function(err) {
|
||||
if (err) {
|
||||
next(err);
|
||||
return next(err);
|
||||
}
|
||||
|
||||
npm.config.set('spin', false);
|
||||
|
||||
Reference in New Issue
Block a user