Explorar el Código

Fix PlatformRepo packages not being seen as installed

Jordi Boggiano hace 13 años
padre
commit
9108a3af7f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Composer/Command/InstallCommand.php

+ 1 - 1
src/Composer/Command/InstallCommand.php

@@ -97,7 +97,7 @@ EOT
         // TODO this belongs in the solver, but this will do for now to report top-level deps missing at least
         foreach ($request->getJobs() as $job) {
             if ('install' === $job['cmd']) {
-                foreach ($localRepo->getPackages() as $package) {
+                foreach ($installedRepo->getPackages() as $package) {
                     if ($job['packageName'] === $package->getName()) {
                         continue 2;
                     }