Skip to content

Commit 6fe8a23

Browse files
authored
Merge pull request #1898 from CaoShuFeng/misspell
fix verify-spelling.sh scripts
2 parents 7f3a98e + a190b4b commit 6fe8a23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hack/verify-spelling.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ fi
3333
# Spell checking
3434
# All the skipping files are defined in hack/.spelling_failures
3535
skipping_file="${KUBE_ROOT}/hack/.spelling_failures"
36-
failing_packages=$(echo `cat hack/.spelling_failures` | sed "s| | -e |g")
37-
git ls-files | grep -v -e ${failing_packages} | xargs misspell -i "Creater,creater,ect" -error -o stderr
36+
failing_packages=$(echo `cat ${skipping_file}` | sed "s| | -e |g")
37+
git ls-files | grep -v -e ${failing_packages} | xargs misspell -i "" -error -o stderr

0 commit comments

Comments
 (0)