basant307/AI_Governance_Project
048
1#!/usr/bin/env sh2[ "$HUSKY" = "2" ] && set -x3n=$(basename "$0")4s=$(dirname "$(dirname "$0")")/$n5 6[ ! -f "$s" ] && exit 07 8if [ -f "$HOME/.huskyrc" ]; then9 echo "husky - '~/.huskyrc' is DEPRECATED, please move your code to ~/.config/husky/init.sh"10fi11i="${XDG_CONFIG_HOME:-$HOME/.config}/husky/init.sh"12[ -f "$i" ] && . "$i"13 14[ "${HUSKY-}" = "0" ] && exit 015 16export PATH="node_modules/.bin:$PATH"17sh -e "$s" "$@"18c=$?19 20[ $c != 0 ] && echo "husky - $n script failed (code $c)"21[ $c = 127 ] && echo "husky - command not found in PATH=$PATH"22exit $c23 