1
0
Fork 0

Fix regression when using -vvv

pull/2993/merge
Jordi Boggiano 2013-07-03 01:05:54 +02:00
parent 44e45ed2d5
commit 9cbfe31983
2 changed files with 5 additions and 2 deletions

View File

@ -97,7 +97,9 @@ class FileDownloader implements DownloaderInterface
} elseif (count($urls)) { } elseif (count($urls)) {
$this->io->write(''); $this->io->write('');
$this->io->write(' Failed, trying the next URL'); $this->io->write(' Failed, trying the next URL');
} else { }
if (!count($urls)) {
throw $e; throw $e;
} }
} }

View File

@ -67,7 +67,8 @@ abstract class VcsDownloader implements DownloaderInterface, ChangeReportInterfa
$this->io->write('Failed: ['.get_class($e).'] '.$e->getMessage()); $this->io->write('Failed: ['.get_class($e).'] '.$e->getMessage());
} elseif (count($urls)) { } elseif (count($urls)) {
$this->io->write(' Failed, trying the next URL'); $this->io->write(' Failed, trying the next URL');
} else { }
if (!count($urls)) {
throw $e; throw $e;
} }
} }