Files
FastGPT/.husky/pre-commit
2023-06-10 14:01:35 +08:00

6 lines
113 B
Bash
Executable File

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