imTigger / laravel-job-status

Add ability to track Job progress, status and result dispatched to Queue.
MIT License
407 stars 60 forks source link

Config file does not get published #42

Closed Patabugen closed 4 years ago

Patabugen commented 5 years ago

When running

php artisan vendor:publish --provider="Imtigger\LaravelJobStatus\LaravelJobStatusServiceProvider"

The config file job-status.php does not get published.

It looks like it's simply an incorrect path in LaravelJobStatusServiceProvider.php (note the database one has a leading / but the config one doesn't):

        $this->publishes([
            __DIR__ . '../database/migrations/' => database_path('migrations'),
        ], 'migrations');

        $this->publishes([
            __DIR__ . '/../config/' => config_path(),
        ], 'config');