summaryrefslogtreecommitdiff
path: root/hack
diff options
context:
space:
mode:
authorCao Shufeng <caosf.fnst@cn.fujitsu.com>2018-03-06 11:32:31 +0800
committerCao Shufeng <caosf.fnst@cn.fujitsu.com>2018-03-06 11:32:31 +0800
commita190b4b8b3ff2cc6e726481cde87fca27e2461c4 (patch)
tree976bc545faa69a3418261c5dd14d6b98e28f81f4 /hack
parent7f3a98e4c42a6c940dd55861c11608348cb6c4a1 (diff)
fix verify-spelling.sh scripts
Diffstat (limited to 'hack')
-rwxr-xr-xhack/verify-spelling.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/hack/verify-spelling.sh b/hack/verify-spelling.sh
index 38d5692d..1831f8ba 100755
--- a/hack/verify-spelling.sh
+++ b/hack/verify-spelling.sh
@@ -33,5 +33,5 @@ fi
# Spell checking
# All the skipping files are defined in hack/.spelling_failures
skipping_file="${KUBE_ROOT}/hack/.spelling_failures"
-failing_packages=$(echo `cat hack/.spelling_failures` | sed "s| | -e |g")
-git ls-files | grep -v -e ${failing_packages} | xargs misspell -i "Creater,creater,ect" -error -o stderr
+failing_packages=$(echo `cat ${skipping_file}` | sed "s| | -e |g")
+git ls-files | grep -v -e ${failing_packages} | xargs misspell -i "" -error -o stderr