Fix typo on linter.sh

Replace `langauge` with `language`.
This commit is contained in:
RD WebDesign 2023-03-19 02:54:32 -03:00 committed by Brett Logan
parent 80ce402b36
commit 27080df2e5

View file

@ -623,7 +623,7 @@ CallStatusAPI() {
####################
# Pull in the vars #
####################
LANGUAGE="${1}" # langauge that was validated
LANGUAGE="${1}" # language that was validated
STATUS="${2}" # success | error
SUCCESS_MSG='No errors were found in the linting process'
FAIL_MSG='Errors were detected, please view logs'
@ -728,7 +728,7 @@ Footer() {
#########################################
CallStatusAPI "${LANGUAGE}" "error"
######################################
# Check if we validated the langauge #
# Check if we validated the language #
######################################
elif [[ ${!ERROR_COUNTER} -eq 0 ]]; then
if CheckInArray "${LANGUAGE}"; then