Pārlūkot izejas kodu

Fixed no lock file was written when setting writeLock to true and executeOperations to false

Yanick Witschi 8 gadi atpakaļ
vecāks
revīzija
0ea93df252
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/Composer/Installer.php

+ 1 - 1
src/Composer/Installer.php

@@ -605,7 +605,7 @@ class Installer
                 $this->eventDispatcher->dispatchPackageEvent(constant($event), $this->devMode, $policy, $pool, $installedRepo, $request, $operations, $operation);
             }
 
-            if ($this->executeOperations) {
+            if ($this->executeOperations || $this->writeLock) {
                 $localRepo->write();
             }
         }