From ba912e90ba91585c2513f4318a81f667390b0ca3 Mon Sep 17 00:00:00 2001 From: Mubbasher Ahmed Qureshi Date: Mon, 28 Jul 2025 15:56:55 +0500 Subject: [PATCH] fix: stub copy path --- src/Console/InstallHookCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/InstallHookCommand.php b/src/Console/InstallHookCommand.php index cfb2c57..5d07fff 100644 --- a/src/Console/InstallHookCommand.php +++ b/src/Console/InstallHookCommand.php @@ -26,7 +26,7 @@ public function __construct(Filesystem $files = null) public function handle(): int { $hookPath = $this->argument('hookPath') ?? base_path('.git/hooks/commit-msg'); - $stubPath = $this->argument('stubPath') ?? (__DIR__ . '/../src/Hooks/commit-msg'); + $stubPath = $this->argument('stubPath') ?? (__DIR__ . '/../Hooks/commit-msg'); $hooksDir = \dirname($hookPath); if (!$this->files->exists($hooksDir)) {