From a190b4b8b3ff2cc6e726481cde87fca27e2461c4 Mon Sep 17 00:00:00 2001 From: Cao Shufeng Date: Tue, 6 Mar 2018 11:32:31 +0800 Subject: [PATCH] fix verify-spelling.sh scripts --- hack/verify-spelling.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/verify-spelling.sh b/hack/verify-spelling.sh index 38d5692df..1831f8ba3 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