瀏覽代碼

test: ignore vendor/ directory on license check

Anthony Romano 10 年之前
父節點
當前提交
45cf31650c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test

+ 1 - 1
test

@@ -102,7 +102,7 @@ function fmt_tests {
 	fi
 
 	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}"
 		done;)
 	if [ -n "${licRes}" ]; then