src/extensibility/node/npm-installer.js
Function _performNpmInstall
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
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);