Skip to content

Commit

Permalink
chore: remove duplicated call to finish progress bar
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Jun 1, 2024
1 parent caf131f commit d47c977
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Service/Install/InstallService.php
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,6 @@ protected function downloadCli(string $url, string $filename, string $path, ?str
}
$progressBar->finish();
$this->output->writeln('');
$progressBar->finish();
if ($hash && file_exists($path) && hash_file($hash_algo, $path) !== $hash) {
$this->output->writeln('<error>Failure on download ' . $filename . ' try again</error>');
$this->output->writeln('<error>Invalid ' . $hash_algo . '</error>');
Expand Down

0 comments on commit d47c977

Please sign in to comment.