Browse Source

@naderman says this is wrong.

Beau Simensen 13 năm trước cách đây
mục cha
commit
df72919ba3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
                     }
                 }