mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
6b4d75d245
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
13 lines
356 B
Bash
Executable File
13 lines
356 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# Ignore vendor folder and check file names as well
|
|
# Note: ignore "ba" in https://github.com/k3s-io/k3s/blob/4317a91/scripts/provision/vagrant#L54
|
|
codespell --skip=.git,./vendor,MAINTAINERS --check-filenames --ignore-words-list=ba
|
|
|
|
code=$?
|
|
if [ $code -ne 0 ]; then
|
|
echo "Error: codespell found one or more problems!"
|
|
exit $code
|
|
fi
|