#!/bin/sh
if [ "$CI" = "true" ] || [ "$NODE_ENV" = "production" ]; then
    echo "CI or production environment, skipping Husky hook."
    exit 0
fi

node "$(dirname "$0")/../scripts/commit-msg.js" "$@"
