Skip to content

Commit

Permalink
1 more step
Browse files Browse the repository at this point in the history
  • Loading branch information
PadowYT2 committed Jan 22, 2024
1 parent 590b17e commit f725279
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Commands/UpdateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function handle()
if ($remove)
exec('rm -rf resources/scripts');

$progress = progress(label: 'Updating the Panel', steps: 6);
$progress = progress(label: 'Updating the Panel', steps: 7);
$progress->start();

spin(
Expand All @@ -103,7 +103,6 @@ public function handle()
function () {
exec('chmod -R 755 storage/* bootstrap/cache');
sleep(1);
return;
},
'Setting correct permissions'
);
Expand All @@ -123,6 +122,8 @@ function () {
'Installing composer dependencies'
);

$progress->advance();

$version = $this->option('utils-version');
spin(
fn() => exec('composer require -n -q wemx/utils' . ($version ? " {$version}" : '')),
Expand Down

0 comments on commit f725279

Please sign in to comment.