You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✗ repos have hooks.gitleaks set to true
(in test file caulked.bats, line 60)
`./check_repos.sh $HOME check_hooks_gitleaks >&3' failed
Initialized empty Git repository in /private/var/folders/8x/vrpz2njj5vv0ls0xtr32_w240000gn/T/gittest.aVPb6T/.git/
This does not give me, as a user, a lot to go on. What repository did I do this awful thing to?
(After 10m of digging around... perhaps this could be a PR, but...)
My solution was to add the following to the else case of check_hooks_gitleaks() in check_repos.sh:
>&2 echo "hooks.gitleaks set to false: $gitrepo"
right before return 1. This then told me exactly which repositories were at fault.
The text was updated successfully, but these errors were encountered:
This does not give me, as a user, a lot to go on. What repository did I do this awful thing to?
(After 10m of digging around... perhaps this could be a PR, but...)
My solution was to add the following to the
else
case ofcheck_hooks_gitleaks()
incheck_repos.sh
:right before
return 1
. This then told me exactly which repositories were at fault.The text was updated successfully, but these errors were encountered: