Explorar o código

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

Yanick Witschi %!s(int64=8) %!d(string=hai) anos
pai
achega
0ea93df252
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
             }
         }