Skip to content

Commit

Permalink
Always boot commands (#1045)
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints authored Apr 7, 2021
1 parent 45c7420 commit b9cdbc6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/TelescopeServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class TelescopeServiceProvider extends ServiceProvider
*/
public function boot()
{
$this->registerCommands();

if (! config('telescope.enabled')) {
return;
}
Expand All @@ -27,7 +29,6 @@ public function boot()
$this->registerRoutes();
$this->registerMigrations();
$this->registerPublishing();
$this->registerCommands();

Telescope::start($this->app);
Telescope::listenForStorageOpportunities($this->app);
Expand Down

0 comments on commit b9cdbc6

Please sign in to comment.