bazarr/frontend/.husky/pre-commit

8 lines
140 B
Bash
Executable File

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
[ -n "$CI" ] && exit 0
cd frontend || exit
npx pretty-quick --staged --pattern "frontend/**/*.*"