mirror of
https://github.com/cline/cline.git
synced 2026-09-19 02:05:44 +08:00
* Move bun to root * Fix scripts and pre-commit * Update scripts * Update workflows * Fix cd * fix pre-commit * fix cli publish
10 lines
322 B
Plaintext
10 lines
322 B
Plaintext
if ! command -v gitleaks >/dev/null 2>&1; then
|
|
echo "gitleaks is required for the pre-commit secret scan."
|
|
echo "Install it with: brew install gitleaks"
|
|
echo "Other install options: https://github.com/gitleaks/gitleaks#installing"
|
|
exit 1
|
|
fi
|
|
|
|
gitleaks git --pre-commit --redact --staged --verbose || exit 1
|
|
|
|
lint-staged |