Explorar o código

@naderman says this is wrong.

Beau Simensen %!s(int64=13) %!d(string=hai) anos
pai
achega
df72919ba3
Modificáronse 1 ficheiros con 1 adicións e 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;
                     }
                 }