tldraw/.husky/post-merge
Mime Čuvalo 42865a5b70
husky: add +x chmod flag (#2986)
### Change Type

- [x] `patch` — Bug fix
2024-02-28 16:33:04 +00:00

13 lines
334 B
Bash
Executable file

#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
set -e
# This notifies the user if the yarn.lock file has changed.
CHANGED=$(git diff HEAD@{1} --stat -- ./yarn.lock | wc -l)
if (( CHANGED > 0 )); then
echo
echo "🚨 🚨 🚨 yarn.lock has changed! 🚨 🚨 🚨 "
echo "run 'yarn' to get the latest!"
echo
fi