mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-18 14:21:32 +03:00
12 lines
375 B
Plaintext
12 lines
375 B
Plaintext
|
#!/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
|
||
|
npm run lint && node_modules/@babel/node/bin/babel-node.js scripts/commit-msg.js
|
||
|
fi
|
||
|
|