avoid address conflict with isPlugin

This commit is contained in:
guybedford 2015-09-06 12:43:05 +02:00
parent d9b7f35b71
commit b1fc92bbfa

View File

@ -249,6 +249,8 @@
var pkgConfigPromises = {};
function createPackageNormalize(normalize, sync) {
return function(name, parentName, isPlugin) {
isPlugin = isPlugin === true;
// apply contextual package map first
if (parentName) {
var parentPackage = getPackage.call(this, parentName) ||