diff --git a/hack/verify-gofmt.sh b/hack/verify-gofmt.sh index 5577d1b9..21003e67 100755 --- a/hack/verify-gofmt.sh +++ b/hack/verify-gofmt.sh @@ -13,7 +13,7 @@ find_files() { } GOFMT="gofmt -s" -bad_files=$(find_files | xargs $GOFMT -l) +bad_files=$(find_files | grep -v '.glide/cache' | xargs $GOFMT -l) if [[ -n "${bad_files}" ]]; then echo "!!! '$GOFMT' needs to be run on the following files: " echo "${bad_files}"