Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #702 from alphagov/bau-dont-force-git-secrets
Browse files Browse the repository at this point in the history
BAU: Don't force git secrets in pre-commit
  • Loading branch information
Rosa-Fox authored May 23, 2019
2 parents c00f36f + 451b0ba commit 04283c2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pre-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ if [[ ! $(git secrets 2>/dev/null) ]]; then
echo " git secrets --install"
echo " git secrets --register-aws"
echo " === !!! !!! !!! === "
funky_fail_banner
exit 1
else
for hook in .git/hooks/commit-msg .git/hooks/pre-commit .git/hooks/prepare-commit-msg; do
if ! grep -q "git secrets" $hook; then
Expand Down

0 comments on commit 04283c2

Please sign in to comment.