From 84062565c4da4eae540bf61c77dc6dfbd571d1f4 Mon Sep 17 00:00:00 2001 From: Pablo Carranza Velez Date: Fri, 9 Jun 2017 15:19:44 -0700 Subject: [PATCH] When testing gosuper formatting, don't check the vendor directory Signed-off-by: Pablo Carranza Velez --- gosuper/test_formatting.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosuper/test_formatting.sh b/gosuper/test_formatting.sh index 1b0fc7bc..a6967ba6 100755 --- a/gosuper/test_formatting.sh +++ b/gosuper/test_formatting.sh @@ -1,6 +1,6 @@ #!/bin/bash -for dir in $(find ./* -path ./Godeps -prune -or -type d -print); do +for dir in $(find ./* -path ./vendor -prune -or -type d -print); do errormessage=$(gofmt -l $dir) if [ -n "$errormessage" ]; then echo "$errormessage"