Ver código fonte

Fix missing argument for getLastBackupVersion()

vlakoff 9 anos atrás
pai
commit
47d196f37f
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/Composer/Command/SelfUpdateCommand.php

+ 1 - 1
src/Composer/Command/SelfUpdateCommand.php

@@ -107,7 +107,7 @@ EOT
 
             // remove all backups except for the most recent, if any
             if ($input->getOption('clean-backups')) {
-                $this->cleanBackups($rollbackDir, $this->getLastBackupVersion());
+                $this->cleanBackups($rollbackDir, $this->getLastBackupVersion($rollbackDir));
             }
 
             return 0;