Skip to content

Commit 6e4df66

Browse files
authored
Merge pull request #4720 from ffromani/mispell-ignore-yaml-files
spell: ignore YAML files
2 parents e71986c + 7bb4863 commit 6e4df66

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
@@ -45,10 +45,10 @@ cd "${ROOT}"
4545
RES=0
4646
echo "Checking spelling..."
4747
ERROR_LOG="${TMP_DIR}/errors.log"
48-
git ls-files | grep -v vendor | xargs misspell > "${ERROR_LOG}"
48+
git ls-files ':!*.yaml' | grep -v vendor | xargs misspell > "${ERROR_LOG}"
4949
if [[ -s "${ERROR_LOG}" ]]; then
5050
sed 's/^/error: /' "${ERROR_LOG}" # add 'error' to each line to highlight in e2e status
5151
echo "Found spelling errors!"
5252
RES=1
5353
fi
54-
exit "${RES}"
54+
exit "${RES}"

0 commit comments

Comments
 (0)