mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-04 18:51:17 +00:00
Don't spell-check compressed files
This commit is contained in:
2
lint
2
lint
@@ -44,7 +44,7 @@ function spell_check {
|
|||||||
if file $filename | grep executable >/dev/null 2>&1; then
|
if file $filename | grep executable >/dev/null 2>&1; then
|
||||||
return $lint_result
|
return $lint_result
|
||||||
fi
|
fi
|
||||||
if [[ $filename == *".tar" ]]; then
|
if [[ $filename == *".tar" || $filename == *".gz" ]]; then
|
||||||
return $lint_result
|
return $lint_result
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user