tools/codespell: make it fail when typos are found
This commit is contained in:
parent
ce5b8a83b1
commit
48ffdcb080
4
dist/tools/codespell/check.sh
vendored
4
dist/tools/codespell/check.sh
vendored
@ -56,8 +56,8 @@ if [ -n "${ERRORS}" ]
|
|||||||
then
|
then
|
||||||
printf "%sThere are typos in the following files:%s\n\n" "${CERROR}" "${CRESET}"
|
printf "%sThere are typos in the following files:%s\n\n" "${CERROR}" "${CRESET}"
|
||||||
printf "%s\n" "${ERRORS}"
|
printf "%s\n" "${ERRORS}"
|
||||||
# TODO: return 1 when all typos are fixed
|
printf "If those are false positives, add them to %s\n" "${RIOTTOOLS}/codespell/ignored_words.txt"
|
||||||
exit 0
|
exit 1
|
||||||
else
|
else
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user