Correctly fail when spelling mistakes are found.

This commit is contained in:
Tom Wilkie
2016-03-23 11:15:40 +00:00
parent f8950ed6a9
commit f9aa081666
+1 -1
View File
@@ -54,7 +54,7 @@ function spell_check {
return $lint_result
fi
if misspell -i "$IGNORE_SPELLINGS" "${filename}"; then
if ! misspell -error -i "$IGNORE_SPELLINGS" "${filename}"; then
lint_result=1
fi