浏览代码

Merge pull request #443 from hason/installer

Save local repo after each success operation
Jordi Boggiano 13 年之前
父节点
当前提交
e50fbf378b
共有 1 个文件被更改,包括 2 次插入0 次删除
  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();
             }
         }