fix fun else

This commit is contained in:
Lucas Gravley 2020-07-22 14:59:03 -05:00
parent 1249a930b7
commit da67a88535

View file

@ -954,15 +954,13 @@ Footer() {
# Create status API for Failed language # # Create status API for Failed language #
######################################### #########################################
CallStatusAPI "${LANGUAGE}" "error" CallStatusAPI "${LANGUAGE}" "error"
else
# No errors found when linting the language
###################################### ######################################
# Check if we validated the langauge # # Check if we validated the langauge #
###################################### ######################################
if [[ "${UNIQUE_LINTED_ARRAY[*]}" =~ ${LANGUAGE} ]]; then elif [ "${!ERROR_COUNTER}" -eq 0 ] && [[ "${UNIQUE_LINTED_ARRAY[*]}" =~ ${LANGUAGE} ]]; then
# No errors found when linting the language
CallStatusAPI "${LANGUAGE}" "success" CallStatusAPI "${LANGUAGE}" "success"
fi fi
fi
done done
################################## ##################################