JCMais/node-libcurl

View on GitHub
scripts/module-packaging.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function attachPackageToRelease has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function attachPackageToRelease(pckg, err, release /*, headers*/) {
  if (err) {
    doSomethingWithError(err)
    return
  }
Severity: Minor
Found in scripts/module-packaging.js - About 2 hrs to fix

    Function removePackageFromRelease has 39 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function removePackageFromRelease(packageToDelete, release) {
      const packageToDeleteName = path.basename(packageToDelete)
    
      let found = false
    
    
    Severity: Minor
    Found in scripts/module-packaging.js - About 1 hr to fix

      There are no issues that match your filters.

      Category