7 lines
213 B
Plaintext
Executable File
7 lines
213 B
Plaintext
Executable File
gitleaks git --pre-commit --staged --redact=100 --no-banner || exit $?
|
|
if [ ! -x node_modules/.bin/lint-staged ]; then
|
|
echo "lint-staged is not installed; run npm ci" >&2
|
|
exit 1
|
|
fi
|
|
node_modules/.bin/lint-staged
|