Update spelling failures check for contributor cheatsheet
This commit is contained in:
parent
5a3558be9e
commit
c47affe262
|
@ -1,7 +1,4 @@
|
|||
contributors/guide/contributor-cheatsheet/README-de.md
|
||||
contributors/guide/contributor-cheatsheet/README-fr.md
|
||||
contributors/guide/contributor-cheatsheet/README-it.md
|
||||
contributors/guide/contributor-cheatsheet/README-pt.md
|
||||
contributors/guide/contributor-cheatsheet/README-[a-z]{2}.md
|
||||
committee-steering/meeting-notes-archive
|
||||
elections/steering/.*/voters.yaml
|
||||
events/2014
|
||||
|
|
|
@ -30,4 +30,4 @@ misspell="$(go list -m -f '{{.Dir}}' github.com/client9/misspell)"
|
|||
# All the skipping files are defined in hack/.spelling_failures
|
||||
skipping_file="${KUBE_ROOT}/hack/.spelling_failures"
|
||||
failing_packages=$(echo `cat ${skipping_file}` | sed "s| | -e |g")
|
||||
git ls-files | grep -v -e ${failing_packages} | xargs go run "${misspell}/cmd/misspell" -i "" -error -o stderr
|
||||
git ls-files | grep -vEe ${failing_packages} | xargs go run "${misspell}/cmd/misspell" -i "" -error -o stderr
|
||||
|
|
Loading…
Reference in New Issue