Explorar el Código

@naderman says this is wrong.

Beau Simensen hace 13 años
padre
commit
df72919ba3
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

@@ -135,7 +135,7 @@ EOT
                 foreach ($installedPackages as $package) {
                     if ($package->getName() === $link->getTarget()) {
                         $request->update($package->getName(), new VersionConstraint('=', $package->getVersion()));
-                        continue 2;
+                        break;
                     }
                 }