Skip to content

Commit ba912e9

Browse files
committed
fix: stub copy path
1 parent 0168166 commit ba912e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/InstallHookCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function __construct(Filesystem $files = null)
2626
public function handle(): int
2727
{
2828
$hookPath = $this->argument('hookPath') ?? base_path('.git/hooks/commit-msg');
29-
$stubPath = $this->argument('stubPath') ?? (__DIR__ . '/../src/Hooks/commit-msg');
29+
$stubPath = $this->argument('stubPath') ?? (__DIR__ . '/../Hooks/commit-msg');
3030

3131
$hooksDir = \dirname($hookPath);
3232
if (!$this->files->exists($hooksDir)) {

0 commit comments

Comments
 (0)