#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
BRANCH=`git rev-parse --abbrev-ref HEAD`
PROTECTED_BRANCH="main"
if [ "$BRANCH" = $PROTECTED_BRANCH ]; then
node .husky/pre-push.js < /dev/tty
fi