1
0
Fork 0

Fix display overwrite()

pull/220/head
François Pluchino 2012-01-18 13:58:44 +01:00
parent 76deb2d302
commit 6d4ccaa398
1 changed files with 4 additions and 4 deletions

View File

@ -80,7 +80,7 @@ class VcsRepository extends ArrayRepository
} }
foreach ($driver->getTags() as $tag => $identifier) { foreach ($driver->getTags() as $tag => $identifier) {
$this->io->overwrite('Get composer of <info>' . $this->packageName . '</info> (<comment>' . $tag . '</comment>)'); $this->io->overwrite('Get composer of <info>' . $this->packageName . '</info> (<comment>' . $tag . '</comment>)', false);
$parsedTag = $this->validateTag($versionParser, $tag); $parsedTag = $this->validateTag($versionParser, $tag);
if ($parsedTag && $driver->hasComposerFile($identifier)) { if ($parsedTag && $driver->hasComposerFile($identifier)) {
try { try {
@ -127,10 +127,10 @@ class VcsRepository extends ArrayRepository
} }
} }
$this->io->overwrite(''); $this->io->overwrite('', false);
foreach ($driver->getBranches() as $branch => $identifier) { foreach ($driver->getBranches() as $branch => $identifier) {
$this->io->overwrite('Get composer of <info>' . $this->packageName . '</info> (<comment>' . $branch . '</comment>)'); $this->io->overwrite('Get composer of <info>' . $this->packageName . '</info> (<comment>' . $branch . '</comment>)', false);
$parsedBranch = $this->validateBranch($versionParser, $branch); $parsedBranch = $this->validateBranch($versionParser, $branch);
if ($driver->hasComposerFile($identifier)) { if ($driver->hasComposerFile($identifier)) {
$data = $driver->getComposerInformation($identifier); $data = $driver->getComposerInformation($identifier);
@ -175,7 +175,7 @@ class VcsRepository extends ArrayRepository
} }
} }
$this->io->overwrite(''); $this->io->overwrite('', false);
} }
private function preProcess(VcsDriverInterface $driver, array $data, $identifier) private function preProcess(VcsDriverInterface $driver, array $data, $identifier)