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)) {