1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-20 23:31:30 +03:00
leon/.husky/commit-msg

12 lines
328 B
Plaintext
Raw Normal View History

2021-12-27 17:57:06 +03:00
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
if ! [ -x "$(command -v npm)" ]; then
echo "npm: command not found"
echo "If you use a version manager tool such as nvm and a git GUI such as GitKraken, please read: https://typicode.github.io/husky/#/?id=command-not-found" >&2
exit 1
else
2022-09-03 15:59:04 +03:00
npx ts-node scripts/commit-msg.js
2021-12-27 17:57:06 +03:00
fi