mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 12:42:09 -05:00
fix fun else
This commit is contained in:
parent
1249a930b7
commit
da67a88535
1 changed files with 5 additions and 7 deletions
|
@ -954,14 +954,12 @@ Footer() {
|
||||||
# Create status API for Failed language #
|
# Create status API for Failed language #
|
||||||
#########################################
|
#########################################
|
||||||
CallStatusAPI "${LANGUAGE}" "error"
|
CallStatusAPI "${LANGUAGE}" "error"
|
||||||
else
|
######################################
|
||||||
|
# Check if we validated the langauge #
|
||||||
|
######################################
|
||||||
|
elif [ "${!ERROR_COUNTER}" -eq 0 ] && [[ "${UNIQUE_LINTED_ARRAY[*]}" =~ ${LANGUAGE} ]]; then
|
||||||
# No errors found when linting the language
|
# No errors found when linting the language
|
||||||
######################################
|
CallStatusAPI "${LANGUAGE}" "success"
|
||||||
# Check if we validated the langauge #
|
|
||||||
######################################
|
|
||||||
if [[ "${UNIQUE_LINTED_ARRAY[*]}" =~ ${LANGUAGE} ]]; then
|
|
||||||
CallStatusAPI "${LANGUAGE}" "success"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue