Files
FastGPT/.husky/pre-commit
2023-03-04 13:04:47 +08:00

6 lines
118 B
Bash

#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
if command -v npx >/dev/null 2>&1; then
npx lint-staged
fi