Skip to content

Commit

Permalink
[fix] check for errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Swaagie committed Dec 19, 2013
1 parent ba542a4 commit b31fccd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/jitsu/commands/install.js
Expand Up @@ -65,6 +65,10 @@ module.exports = function (requestedApp, callback) {
};

canihaz.npm(function fetch(err, module) {
if (err) {
return callback(err);
}

npm = module;
npm.load({ exit: false }, function (err) {
if (err) {
Expand Down

0 comments on commit b31fccd

Please sign in to comment.