Skip to content

Commit

Permalink
fix verify-spelling.sh scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
CaoShuFeng committed Mar 6, 2018
1 parent 7f3a98e commit a190b4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/verify-spelling.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a190b4b

Please sign in to comment.