diff --git a/.husky/pre-commit b/.husky/pre-commit index f1a354d..f56b0ab 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,7 +1,7 @@ npm run lint # Gitleaks secret scanning -if command -v gitleaks &> /dev/null; then +if command -v gitleaks > /dev/null 2>&1; then gitleaks protect --verbose --staged if [ $? -eq 1 ]; then echo ""