From 0f5b9ea23cf26e505401dc3fd18b3478a8d9ca04 Mon Sep 17 00:00:00 2001 From: Jonathan Gimeno Date: Mon, 4 Jan 2021 21:02:29 +0100 Subject: [PATCH] contrib: fix path for statik files (#8248) --- contrib/githooks/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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