diff --git a/hack/update-fmt.sh b/hack/update-fmt.sh index 94167eb7c..fe6756078 100755 --- a/hack/update-fmt.sh +++ b/hack/update-fmt.sh @@ -33,7 +33,7 @@ if ! command -v goimports > /dev/null; then exit 1 fi -files="$(find . -type f -name '*.go' -not -path './vendor/*' -not -path './pkg/generated/*' -not -name 'zz_generated*')" +files="$(find . -type f -name '*.go' -not -path './vendor/*' -not -path './site/*' -not -path './pkg/generated/*' -not -name 'zz_generated*')" echo "${ACTION} gofmt" for file in ${files}; do output=$(gofmt "${MODE}" -s "${file}")