Commit 93dca42
committed
fix(security): make gitleaks-missing failure explicit + add Ubuntu apt guidance
When gitleaks is absent the installer now states outright that the
pre-commit hook was NOT installed (on stderr) and exits 1, and the Linux
guidance gains 'sudo apt install gitleaks' (works on Ubuntu 24.04)
alongside the existing releases pointer. Verified by execution: missing
gitleaks → exit 1, no hook written; gitleaks present → hook installed
and executable.1 parent 5230c53 commit 93dca42
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
0 commit comments