bazarr/frontend/.husky/pre-commit

8 lines
140 B
Plaintext
Raw Normal View History

2021-08-29 17:16:47 +00:00
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
[ -n "$CI" ] && exit 0
cd frontend || exit
npx pretty-quick --staged --pattern "frontend/**/*.*"