1
0
Fork 0

Merge pull request #3818 from Hellov/master

Duplicate download progress
pull/3794/merge
Jordi Boggiano 2015-03-05 14:44:34 +00:00
commit 3470cef1f1
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ class RemoteFilesystem
$progression = round($bytesTransferred / $this->bytesMax * 100);
}
if ((0 === $progression % 5) && $progression !== $this->lastProgress) {
if ((0 === $progression % 5) && 100 !== $progression && $progression !== $this->lastProgress) {
$this->lastProgress = $progression;
$this->io->overwriteError(" Downloading: <comment>$progression%</comment>", false);
}