diff --git a/contrib/githooks/pre-commit b/contrib/githooks/pre-commit index b80fd291f1..2a9ad27af6 100755 --- a/contrib/githooks/pre-commit +++ b/contrib/githooks/pre-commit @@ -25,7 +25,7 @@ f_check_cmds if [[ $STAGED_GO_FILES != "" ]]; then f_echo_stderr "[pre-commit] fmt'ing staged files..." for file in $STAGED_GO_FILES; do - if [[ $file =~ vendor/ ]] || [[ $file =~ client/lcd/statik/ ]] || [[ $file =~ tests/mocks/ ]] || [[ $file =~ \.pb\.go ]]; then + if [[ $file =~ vendor/ ]] || [[ $file =~ client/docs/statik/ ]] || [[ $file =~ tests/mocks/ ]] || [[ $file =~ \.pb\.go ]]; then continue fi