Skip to content

Commit 17614b8

Browse files
authored
Merge pull request #5259 from Laravel-Backpack/better-fix-basset-hanging-install-script
Move basset check to the end of the installer script
2 parents a29671e + e56d496 commit 17614b8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"require": {
3838
"laravel/framework": "^10.0",
3939
"prologue/alerts": "^1.0",
40-
"backpack/basset": "^1.0.0",
40+
"backpack/basset": "^1.1.1",
4141
"creativeorange/gravatar": "~1.0",
4242
"doctrine/dbal": "^3.0",
4343
"guzzlehttp/guzzle": "^7.0"

src/app/Console/Commands/Install.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function handle()
9393

9494
// Install Backpack Basset
9595
$this->progressBlock('Installing Basset');
96-
$this->executeArtisanProcess('basset:install --no-interaction');
96+
$this->executeArtisanProcess('basset:install --no-check');
9797
$this->closeProgressBlock();
9898

9999
// Optional commands
@@ -113,6 +113,8 @@ public function handle()
113113
$this->closeProgressBlock();
114114
}
115115

116+
//execute basset checks
117+
$this->call('basset:check');
116118
// Done
117119
$url = Str::of(config('app.url'))->finish('/')->append('admin/');
118120
$this->infoBlock('Backpack installation complete.', 'done');

0 commit comments

Comments
 (0)