fix: githooks mac

This commit is contained in:
2584433
2025-10-17 14:35:55 +00:00
parent 71ddb5072b
commit 35cd263ed0
3 changed files with 14 additions and 3 deletions

View File

@@ -9,7 +9,6 @@ fi
# allowed pattern <type/>
if echo "$branch" | grep -Eq "^(feat|fix|refactor|perf|style|test|docs|build|chore|revert)\/\w+(-\w+){0,5}$"; then
echo "✅ Branch name valid: $branch"
exit 0
else
echo "❌ Invalid branch name: $branch"