mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-09 18:43:34 -05:00
Fix typo on linter.sh
Replace `langauge` with `language`.
This commit is contained in:
parent
80ce402b36
commit
27080df2e5
1 changed files with 2 additions and 2 deletions
|
@ -623,7 +623,7 @@ CallStatusAPI() {
|
||||||
####################
|
####################
|
||||||
# Pull in the vars #
|
# Pull in the vars #
|
||||||
####################
|
####################
|
||||||
LANGUAGE="${1}" # langauge that was validated
|
LANGUAGE="${1}" # language that was validated
|
||||||
STATUS="${2}" # success | error
|
STATUS="${2}" # success | error
|
||||||
SUCCESS_MSG='No errors were found in the linting process'
|
SUCCESS_MSG='No errors were found in the linting process'
|
||||||
FAIL_MSG='Errors were detected, please view logs'
|
FAIL_MSG='Errors were detected, please view logs'
|
||||||
|
@ -728,7 +728,7 @@ Footer() {
|
||||||
#########################################
|
#########################################
|
||||||
CallStatusAPI "${LANGUAGE}" "error"
|
CallStatusAPI "${LANGUAGE}" "error"
|
||||||
######################################
|
######################################
|
||||||
# Check if we validated the langauge #
|
# Check if we validated the language #
|
||||||
######################################
|
######################################
|
||||||
elif [[ ${!ERROR_COUNTER} -eq 0 ]]; then
|
elif [[ ${!ERROR_COUNTER} -eq 0 ]]; then
|
||||||
if CheckInArray "${LANGUAGE}"; then
|
if CheckInArray "${LANGUAGE}"; then
|
||||||
|
|
Loading…
Reference in a new issue