Skip to content

Commit

Permalink
Merge pull request #292 from milad-elyasi/moved-logs-after-can-run
Browse files Browse the repository at this point in the history
moved log after can run
  • Loading branch information
imanghafoori1 authored Sep 21, 2024
2 parents b4b69fe + cd5b1a2 commit eb76616
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 eb76616

Please sign in to comment.