From 4dc459b1166efa2c2ef5be49f2b81b90be2cfa95 Mon Sep 17 00:00:00 2001 From: Adam Reese Date: Wed, 30 Mar 2016 10:20:16 -0700 Subject: [PATCH] fix(gofmt): run gofmt on all go files Fixes: #507 --- scripts/validate-go.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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..."