From 331425bcb3cd13a5d5d807c13c6a651229b56ac8 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 5 Mar 2015 14:44:15 +0000 Subject: [PATCH] Fix output of first line of progress when output is not decorated, refs #3818 --- src/Composer/Util/RemoteFilesystem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Util/RemoteFilesystem.php b/src/Composer/Util/RemoteFilesystem.php index 9e6b50d74..35355de6a 100644 --- a/src/Composer/Util/RemoteFilesystem.php +++ b/src/Composer/Util/RemoteFilesystem.php @@ -158,7 +158,7 @@ class RemoteFilesystem $ctx = StreamContextFactory::getContext($fileUrl, $options, array('notification' => array($this, 'callbackGet'))); if ($this->progress) { - $this->io->writeError(" Downloading: connection...", false); + $this->io->writeError(" Downloading: connection...", !$this->io->isDecorated()); } $errorMessage = '';