diff --git a/scripts/gofmt.sh b/scripts/gofmt.sh index 29d971d..6c07f60 100755 --- a/scripts/gofmt.sh +++ b/scripts/gofmt.sh @@ -1,6 +1,6 @@ #!/bin/bash -need_gofmt=$(gofmt -s -l `find . -name '*.go' | grep -v vendor | grep -v _repos`) +need_gofmt=$(gofmt -s -l `find . -name '*.go' | grep -v vendor | grep -v _repos | grep -v testrepo`) if [[ -n ${need_gofmt} ]]; then echo "These files fail gofmt -s:"