Don't spell-check compressed files

This commit is contained in:
Bryan Boreham
2016-06-04 14:28:52 +00:00
parent e9749a5383
commit 2da55ceef2

2
lint
View File

@@ -44,7 +44,7 @@ function spell_check {
if file $filename | grep executable >/dev/null 2>&1; then
return $lint_result
fi
if [[ $filename == *".tar" ]]; then
if [[ $filename == *".tar" || $filename == *".gz" ]]; then
return $lint_result
fi