contrib: fix path for statik files (#8248)
This commit is contained in:
parent
f67eac6840
commit
0f5b9ea23c
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user