lib/package.js
Function setPkg
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setPkg(pkg){
pkg.resolvedKey = '_anyPackages';
pkg.opts = {};
Function install
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function install(pkg, opts){
setPkg(pkg);
pkg.opts = opts || {};