Pārlūkot izejas kodu

Save local repo after each success operation

Martin Hasoň 13 gadi atpakaļ
vecāks
revīzija
01c1878aea
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      src/Composer/Installer.php

+ 2 - 0
src/Composer/Installer.php

@@ -278,6 +278,8 @@ class Installer
                 $this->installationManager->execute($operation);
 
                 $this->eventDispatcher->dispatchPackageEvent(constant('Composer\Script\ScriptEvents::POST_PACKAGE_'.strtoupper($operation->getJobType())), $operation);
+
+                $localRepo->write();
             }
         }