Skip to content

Commit

Permalink
chore(husky): correct typo in pre-push
Browse files Browse the repository at this point in the history
  • Loading branch information
froggy1014 committed Jan 9, 2025
1 parent 68e34c6 commit cdc3262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Get the current branch name
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
BRANCH_REGEX='^(feature|fix|hotfix|chore|refactor|release|test|docs|ci|build)\/[a-z0-9-]+$'
BRANCH_REGEX='^(feat|fix|hotfix|chore|refactor|release|test|docs|ci|build)\/[a-z0-9-]+$'

# Check if the branch name matches the defined regex
if ! [[ $BRANCH_NAME =~ $BRANCH_REGEX ]]; then
Expand Down

0 comments on commit cdc3262

Please sign in to comment.