Skip to content

Commit

Permalink
set config as the tag
Browse files Browse the repository at this point in the history
  • Loading branch information
dcblogdev committed Nov 16, 2024
1 parent bebe5b4 commit b4fb6aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/stubs/scaffold/provider.stub
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class $CLASS$ extends ServiceProvider
$configKey = $this->nameLower . '.' . str_replace([DIRECTORY_SEPARATOR, '.php'], ['.', ''], $relativePath);
$key = ($relativePath === 'config.php') ? $this->nameLower : $configKey;

$this->publishes([$file->getPathname() => config_path($relativePath)], $configPath);
$this->publishes([$file->getPathname() => config_path($relativePath)], 'config');
$this->mergeConfigFrom($file->getPathname(), $key);
}
}
Expand Down

0 comments on commit b4fb6aa

Please sign in to comment.