Explorar el Código

Merge pull request #9663 from gyuho/test

test: fix "markdown_you_pass"
Gyuho Lee hace 7 años
padre
commit
b8e8d75677
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      test

+ 1 - 1
test

@@ -368,7 +368,7 @@ function shellcheck_pass {
 
 
 function markdown_you_pass {
 function markdown_you_pass {
 	# eschew you
 	# eschew you
-	yous=$(find . -name \*.md -exec grep -E --color "[Yy]ou[r]?[ '.,;]" {} + | grep -v /v2/ || true)
+	yous=$(find . -name \*.md ! -path './vendor/*' ! -path './gopath.proto/*' -exec grep -E --color "[Yy]ou[r]?[ '.,;]" {} + | grep -v /v2/ || true)
 	if [ ! -z "$yous" ]; then
 	if [ ! -z "$yous" ]; then
 		echo -e "found 'you' in documentation:\\n${yous}"
 		echo -e "found 'you' in documentation:\\n${yous}"
 		exit 255
 		exit 255