When testing gosuper formatting, don't check the vendor directory

Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
This commit is contained in:
Pablo Carranza Velez 2017-06-09 15:19:44 -07:00
parent d21c7faf4e
commit 84062565c4

View File

@ -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"