Fixed missing progress method in DirectInstall Command

This commit is contained in:
Djamil Legato
2016-09-23 15:07:26 -07:00
parent 24ea511ad1
commit 2eec82fb99

View File

@@ -361,4 +361,14 @@ class DirectInstallCommand extends ConsoleCommand
return null;
}
/**
* @param $progress
*/
public function progress($progress)
{
$this->output->write("\x0D");
$this->output->write(" |- Downloading package... " . str_pad($progress['percent'], 5, " ",
STR_PAD_LEFT) . '%');
}
}