浏览代码

Merge pull request #9663 from gyuho/test

test: fix "markdown_you_pass"
Gyuho Lee 7 年之前
父节点
当前提交
b8e8d75677
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test

+ 1 - 1
test

@@ -368,7 +368,7 @@ function shellcheck_pass {
 
 function markdown_you_pass {
 	# 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
 		echo -e "found 'you' in documentation:\\n${yous}"
 		exit 255