We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0168166 commit ba912e9Copy full SHA for ba912e9
src/Console/InstallHookCommand.php
@@ -26,7 +26,7 @@ public function __construct(Filesystem $files = null)
26
public function handle(): int
27
{
28
$hookPath = $this->argument('hookPath') ?? base_path('.git/hooks/commit-msg');
29
- $stubPath = $this->argument('stubPath') ?? (__DIR__ . '/../src/Hooks/commit-msg');
+ $stubPath = $this->argument('stubPath') ?? (__DIR__ . '/../Hooks/commit-msg');
30
31
$hooksDir = \dirname($hookPath);
32
if (!$this->files->exists($hooksDir)) {
0 commit comments