From 56300e84c9e80e0764493ccaa52d0f2eede46df8 Mon Sep 17 00:00:00 2001 From: zhixuan2333 Date: Sat, 1 Apr 2023 12:56:13 +0000 Subject: [PATCH] update command name --- .husky/prepare-commit-msg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.husky/prepare-commit-msg b/.husky/prepare-commit-msg index 5c16003e..83004076 100755 --- a/.husky/prepare-commit-msg +++ b/.husky/prepare-commit-msg @@ -1,9 +1,9 @@ #!/bin/sh ### BEGIN GPTCOMMIT HOOK ### -if ! command -v prepare-commit-msg &> /dev/null +if ! command -v gptcommit &> /dev/null then - echo "prepare-commit-msg not found. Skiped." + echo "gptcommit not found. Skiped." exit fi gptcommit prepare-commit-msg --commit-msg-file "$1" --commit-source "$2" --commit-sha "$3"