1
0
Fork 0

Trying to fix update behavior.

pull/6674/head
Matthew Grasmick 2017-09-11 12:27:20 -04:00
parent ad465aa769
commit 6db92eae92
1 changed files with 2 additions and 2 deletions

View File

@ -1362,11 +1362,11 @@ class Installer
$requirePackages = $pool->whatProvides($require->getTarget());
foreach ($requirePackages as $requirePackage) {
if (!$this->whitelistAllDependencies && isset($this->updateWhitelist[$requirePackage->getName()])) {
if (isset($this->updateWhitelist[$requirePackage->getName()])) {
continue;
}
if (isset($skipPackages[$requirePackage->getName()])) {
if (!$this->whitelistAllDependencies && isset($skipPackages[$requirePackage->getName()])) {
$this->io->writeError('<warning>Dependency "' . $requirePackage->getName() . '" is also a root requirement, but is not explicitly whitelisted. Ignoring.</warning>');
continue;
}