mirror of
https://github.com/getgrav/grav.git
synced 2026-03-05 03:51:50 +01:00
Fixed missing progress method in DirectInstall Command
This commit is contained in:
@@ -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) . '%');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user