diff --git a/scripts/validate-go.sh b/scripts/validate-go.sh index 5c824e63e..07e5af0f9 100755 --- a/scripts/validate-go.sh +++ b/scripts/validate-go.sh @@ -25,7 +25,7 @@ readonly yellow=$(tput bold; tput setaf 3) exit_code=0 find_go_files() { - git ls-files '*.go' + find . -type f -name "*.go" | grep -v vendor } echo "==> Running golint..."