1
0
Fork 0

Merge pull request #2573 from eymengunay/patch-1

Fixed missing close tags
pull/2311/merge
Jordi Boggiano 2014-01-09 15:05:23 -08:00
commit 69e77fbbb5
1 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ EOT
$remoteFilename = $baseUrl . (preg_match('{^[0-9a-f]{40}$}', $updateVersion) ? '/composer.phar' : "/download/{$updateVersion}/composer.phar");
$remoteFilesystem->copy(self::HOMEPAGE, $remoteFilename, $tempFilename);
if (!file_exists($tempFilename)) {
$output->writeln('<error>The download of the new composer version failed for an unexpected reason');
$output->writeln('<error>The download of the new composer version failed for an unexpected reason</error>');
return 1;
}
@ -119,7 +119,7 @@ EOT
$fs = new Filesystem;
foreach ($files as $file) {
$output->writeln('<info>Removing: '.$file);
$output->writeln('<info>Removing: '.$file.'</info>');
$fs->remove($file);
}
}