Browse Source

Fix missing argument for getLastBackupVersion()

vlakoff 9 years ago
parent
commit
47d196f37f
1 changed files with 1 additions and 1 deletions
  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;