From 07283858a98d439a6057554488eeebaf3a9bdb2f Mon Sep 17 00:00:00 2001 From: "Fidelis E. Peter" <42520408+fidelisepeter@users.noreply.github.com> Date: Sun, 23 Oct 2022 01:32:27 +0100 Subject: [PATCH] [minor] correct publishing the config file not working When Publishing the config file php artisan vendor:publish --provider="Laragear\WebAuthn\WebAuthnServiceProvider" --tag="config" Will Return "INFO No publishable resources for tag [config]." LINE FOR CONFIG WAS MISSING --- src/WebAuthnServiceProvider.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/WebAuthnServiceProvider.php b/src/WebAuthnServiceProvider.php index 7ca9ed4..47f9d21 100644 --- a/src/WebAuthnServiceProvider.php +++ b/src/WebAuthnServiceProvider.php @@ -46,6 +46,7 @@ class WebAuthnServiceProvider extends ServiceProvider $this->publishesMigrations(static::MIGRATIONS); $this->publishes([static::ROUTES => $this->app->basePath('routes/webauthn.php')], 'routes'); // @phpstan-ignore-next-line + $this->publishes([static::CONFIG => $this->app->configPath('webauthn.php')], 'config'); $this->publishes([static::CONTROLLERS => $this->app->path('Http/Controllers/WebAuthn')], 'controllers'); $this->publishes([static::JS => $this->app->resourcePath('js/vendor/webauthn')], 'js'); }