Browse Source

test: ignore vendor/ directory on license check

Anthony Romano 9 years ago
parent
commit
45cf31650c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test

+ 1 - 1
test

@@ -102,7 +102,7 @@ function fmt_tests {
 	fi
 	fi
 
 
 	echo "Checking for license header..."
 	echo "Checking for license header..."
-	licRes=$(for file in $(find . -type f -iname '*.go' ! -path './Godeps/*'); do
+	licRes=$(for file in $(find . -type f -iname '*.go' ! -path './vendor/*'); do
 			head -n3 "${file}" | grep -Eq "(Copyright|generated|GENERATED)" || echo -e "  ${file}"
 			head -n3 "${file}" | grep -Eq "(Copyright|generated|GENERATED)" || echo -e "  ${file}"
 		done;)
 		done;)
 	if [ -n "${licRes}" ]; then
 	if [ -n "${licRes}" ]; then