mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-23 07:42:13 -05:00
Fix command output echo text
This commit is contained in:
parent
aca43d0206
commit
301afc458a
1 changed files with 3 additions and 3 deletions
|
@ -281,7 +281,7 @@ function LintCodebase() {
|
||||||
# Error #
|
# Error #
|
||||||
#########
|
#########
|
||||||
error "Found errors in [${LINTER_NAME}] linter!"
|
error "Found errors in [${LINTER_NAME}] linter!"
|
||||||
error "Error code: ${ERROR_CODE}. Command run:${NC}[\$${LINT_CMD}]"
|
error "Error code: ${ERROR_CODE}. Command output:${NC}[${LINT_CMD}]"
|
||||||
# Increment the error count
|
# Increment the error count
|
||||||
(("ERRORS_FOUND_${FILE_TYPE}++"))
|
(("ERRORS_FOUND_${FILE_TYPE}++"))
|
||||||
fi
|
fi
|
||||||
|
@ -319,7 +319,7 @@ function LintCodebase() {
|
||||||
#########
|
#########
|
||||||
error "Found errors in [${LINTER_NAME}] linter!"
|
error "Found errors in [${LINTER_NAME}] linter!"
|
||||||
error "This file should have failed test case!"
|
error "This file should have failed test case!"
|
||||||
error "Error code: ${ERROR_CODE}. Command run:${NC}[\$${LINT_CMD}]."
|
error "Error code: ${ERROR_CODE}. Command output:${NC}[${LINT_CMD}]."
|
||||||
# Increment the error count
|
# Increment the error count
|
||||||
(("ERRORS_FOUND_${FILE_TYPE}++"))
|
(("ERRORS_FOUND_${FILE_TYPE}++"))
|
||||||
else
|
else
|
||||||
|
@ -337,7 +337,7 @@ function LintCodebase() {
|
||||||
AddDetailedMessageIfEnabled "${LINT_CMD}" "${TMPFILE}"
|
AddDetailedMessageIfEnabled "${LINT_CMD}" "${TMPFILE}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
debug "Error code: ${ERROR_CODE}. Command run:${NC}[\$${LINT_CMD}]."
|
debug "Error code: ${ERROR_CODE}. Command output:${NC}[${LINT_CMD}]."
|
||||||
done
|
done
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
Loading…
Reference in a new issue