Skip to content

Commit

Permalink
correct publish tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
milwad-dev committed Mar 15, 2023
1 parent 382320b commit 49651fc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/LaravelAttributesServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ class LaravelAttributesServiceProvider extends ServiceProvider
*/
public function register()
{
$this->loadMigrationsFrom($this->migration_path); // Load migrations
$this->mergeConfigFrom($this->config_path, $this->config_name); // Load config file
$this->publishPackageFiles(); // Load package files
$this->loadMigrationsFrom($this->migration_path);
$this->mergeConfigFrom($this->config_path, $this->config_name);
$this->publishPackageFiles();
}

/**
Expand All @@ -49,11 +49,11 @@ private function publishPackageFiles()
// Publish config
$this->publishes([
$this->config_path => config_path("$this->config_name.php")
], 'config');
], 'laravel-attributes-config');

// Publish migrations
$this->publishes([
$this->migration_path => database_path('migrations')
], 'migrations');
], 'laravel-attributes-migrations');
}
}

0 comments on commit 49651fc

Please sign in to comment.