lib/util/module.js
Function findConfigAndVersionForModule
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.findConfigAndVersionForModule = function( locations, moduleName, moduleVersion, check ) {
return new Promise( function( resolve ) {
var _module = {};