msieurtoph/any-packages

View on GitHub
lib/package.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function setPkg has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function setPkg(pkg){

    pkg.resolvedKey = '_anyPackages';
    pkg.opts = {};

Severity: Minor
Found in lib/package.js - About 1 hr to fix

    Function install has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function install(pkg, opts){
    
        setPkg(pkg);
        pkg.opts = opts || {};
    
    
    Severity: Minor
    Found in lib/package.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status