Skip to content

Commit

Permalink
Added download animation, php version check and more
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianFun123 committed Jul 31, 2022
1 parent 363f196 commit 2270c0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/de/interaapps/uppm/helper/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function ($s) {
private static int $lastLength = 0;

public function loadingBar(float $percentage, string $text = ""): void {
$cols = getenv('COLUMNS') ?? 60;
$cols = getenv('COLUMNS') ?: 60;
if ($cols > 60)
$cols = 60;

Expand Down

0 comments on commit 2270c0d

Please sign in to comment.