#!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" # Only run if Husky is enabled if [ "$HUSKY_ENABLED" = "1" ] || [ -f .husky-enabled ]; then echo "Running commit-msg hooks..." npx commitlint --edit "$1" else echo "Husky commit-msg hook skipped (not enabled)" exit 0 fi