Browse Source

Fixed copy-paste bug

Martin Hasoň 13 years ago
parent
commit
6227b5ec4e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Downloader/VcsDownloader.php

+ 1 - 1
src/Composer/Downloader/VcsDownloader.php

@@ -61,8 +61,8 @@ abstract class VcsDownloader implements DownloaderInterface
             throw new \InvalidArgumentException('The given package is missing reference information');
         }
 
+        $this->io->write("  - Package <info>" . $target->getName() . "</info> (<comment>" . $target->getPrettyVersion() . "</comment>)");
         $this->enforceCleanDirectory($path);
-        $this->io->write("  - Package <info>" . $package->getName() . "</info> (<comment>" . $package->getPrettyVersion() . "</comment>)");
         $this->doUpdate($initial, $target, $path);
         $this->io->write('');
     }