Skip to content

Commit

Permalink
moved log after can run
Browse files Browse the repository at this point in the history
  • Loading branch information
Milad Elyasi committed Sep 5, 2024
1 parent ba417b6 commit cd5b1a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LaravelMicroscopeServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ class LaravelMicroscopeServiceProvider extends ServiceProvider

public function boot()
{
UnusedVarsInstaller::spyView();

if (! $this->canRun()) {
return;
}

UnusedVarsInstaller::spyView();

$this->addCacheStore();

$this->loadViewsFrom(__DIR__.'/../templates', 'microscope_package');
Expand Down

0 comments on commit cd5b1a2

Please sign in to comment.