diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 07f6882e..b729062b 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 2 diff --git a/.gitignore b/.gitignore index 39458d84..f07b09eb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/.idea /.phpunit.cache /build /vendor diff --git a/src/LogViewerServiceProvider.php b/src/LogViewerServiceProvider.php index f26dab34..7d85830e 100644 --- a/src/LogViewerServiceProvider.php +++ b/src/LogViewerServiceProvider.php @@ -39,7 +39,9 @@ public function register(): void $this->registerConfig(); - $this->registerProvider(Providers\RouteServiceProvider::class); + $this->booted(function () { + $this->registerProvider(Providers\RouteServiceProvider::class); + }); $this->registerCommands([ Commands\PublishCommand::class,