1
0
Fork 0

trim getcomposer.org/version output

pull/107/head
Igor Wiedler 2011-11-13 00:23:10 +01:00
parent 6697385ee2
commit b2f71dcb6a
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ EOT
{
$composer = $this->getComposer();
$latest = file_get_contents('http://getcomposer.org/version');
$latest = trim(file_get_contents('http://getcomposer.org/version'));
if (Composer::VERSION !== $latest) {
$output->writeln(sprintf("Updating to version %s.", $latest));