error checks missing return

This commit is contained in:
barisusakli
2014-11-04 17:57:31 -05:00
parent 04c83dbdcc
commit cdfaa941b1
2 changed files with 7 additions and 1 deletions

View File

@@ -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);