diff options
| author | Cao Shufeng <caosf.fnst@cn.fujitsu.com> | 2018-03-06 11:32:31 +0800 |
|---|---|---|
| committer | Cao Shufeng <caosf.fnst@cn.fujitsu.com> | 2018-03-06 11:32:31 +0800 |
| commit | a190b4b8b3ff2cc6e726481cde87fca27e2461c4 (patch) | |
| tree | 976bc545faa69a3418261c5dd14d6b98e28f81f4 /hack | |
| parent | 7f3a98e4c42a6c940dd55861c11608348cb6c4a1 (diff) | |
fix verify-spelling.sh scripts
Diffstat (limited to 'hack')
| -rwxr-xr-x | hack/verify-spelling.sh | 4 |
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 |
