Skip to content

Commit

Permalink
scripts: imp hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneOne1 committed Jun 28, 2021
1 parent 9c4ba93 commit 41388ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e -f -u

# Show all temporary todos to the programmer but don't fail the commit
# if there are any, because the commit could be in a temporary branch.
git grep -e 'TODO.*!!' -- ':!HACKING.md' ':!scripts/hooks/pre-commit' | more || :
git grep -e 'TODO.*!!' -- ':!HACKING.md' ':!scripts/hooks/pre-commit' | cat || :

if [ "$( git diff --cached --name-only -- 'client/*.js' )" ]
then
Expand Down

0 comments on commit 41388ab

Please sign in to comment.