ChatGPT/.husky/pre-commit
2023-01-22 20:16:14 +08:00

6 lines
93 B
Bash
Executable File

#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npm run pretty-quick
cargo fmt
git add .