Browse files

[fix] Add a log when the package fails

  • Loading branch information...
1 parent 8a6ac44 commit b3447a8bf9e0cdc266454b86df4b162a12574049 @alejandro alejandro committed Jul 17, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/npm.js
View
1 lib/npm.js
@@ -61,6 +61,7 @@ module.exports = {
node_version = jsonFile['node'].replace('v','');
//force = jsonFile['npm'] && jsonFile['npm'] === 'force' ? true :false ;
} catch(e){
+ console.warn(e);
node_version = process_version;
}
// I read the package.json but there is not a "node" key-value

0 comments on commit b3447a8

Please sign in to comment.