Skip to content

Commit a78abf5

Browse files
committed
Add the reason why we ignore old blog typos
Signed-off-by: yuswift <[email protected]>
1 parent 919995f commit a78abf5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/verify-spelling.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ cd "${ROOT}"
6363
RES=0
6464
echo "Checking spelling..."
6565
ERROR_LOG="${TMP_DIR}/errors.log"
66+
67+
# NOTE we usually don't correct old blog articles, so we ignore them in
68+
# this file.
6669
skipping_file="${KUBE_ROOT}/scripts/.spelling_failures"
6770
failing_packages=$(sed "s| | -e |g" "${skipping_file}")
6871
git ls-files | grep content/${LANGUAGE} | grep -v -e "${failing_packages}" | xargs misspell > "${ERROR_LOG}"

0 commit comments

Comments
 (0)