diff --git a/gofmt.sh b/gofmt.sh index 5da235aca4..f51f2c931c 100755 --- a/gofmt.sh +++ b/gofmt.sh @@ -2,9 +2,7 @@ set -e printf "Running gofmt checks...\n" -OUTPUT=$(ls -d */ \ - | egrep -v '^vendor|^docs' \ - | xargs -I {} -P 4 gofmt -d {}) +OUTPUT=$(gofmt -d .) if [[ $OUTPUT ]]; then printf "gofmt found unformatted files:\n\n"