add back pre-commit hook (#33366)
* add pre-commit
* space
* post
* e
old-commit-hash: b87414c749
pull/33386/head
parent
7098ddcd19
commit
8ff2785fb9
3 changed files with 42 additions and 22 deletions
@ -0,0 +1,7 @@ |
||||
#!/usr/bin/env bash |
||||
set -e |
||||
if [[ -f .git/hooks/post-commit.d/post-commit ]]; then |
||||
.git/hooks/post-commit.d/post-commit |
||||
fi |
||||
tools/op.sh lint --fast |
||||
echo "" |
Loading…
Reference in new issue