Fix -E flag no longer excluding checks

Remove re-declaration of TOTAL_CHECKS variable

Bug introduced by #561

Fixes #566
This commit is contained in:
Marc Jay
2020-04-22 09:58:33 +01:00
parent b9051e6fc9
commit c2669622cf

View File

@@ -425,7 +425,6 @@ show_all_group_titles() {
get_all_checks_without_exclusion() {
CHECKS_EXCLUDED=()
local CHECKS_TO_EXCLUDE=()
local TOTAL_CHECKS=()
# Get a list of checks to exclude
IFS=',' read -ra E_CHECKS <<< "$1"
for E_CHECK in "${E_CHECKS[@]}"; do