adobe/brackets

View on GitHub
src/extensibility/node/npm-installer.js

Summary

Maintainability
A
1 hr
Test Coverage

Function _performNpmInstall has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function _performNpmInstall(installDirectory, npmOptions, callback) {
    var npmPath = path.resolve(path.dirname(require.resolve("npm")), "..", "bin", "npm-cli.js");
    var args = [npmPath, "install"].concat(npmOptions);

    console.log("running npm " + args.slice(1).join(" ") + " in " + installDirectory);
Severity: Minor
Found in src/extensibility/node/npm-installer.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status