diff --git a/lib/linter.sh b/lib/linter.sh index 5a9ec0da..9c24d1e1 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -988,17 +988,18 @@ CallStatusAPI() { else # Failure MESSAGE="${FAIL_MSG}" - - # make sure we honor DISABLE_ERRORS - if [ "${DISABLE_ERRORS}" == "true" ]; then - STATUS="success" - fi fi ########################################################## # Check to see if were enabled for multi Status mesaages # ########################################################## if [ "${MULTI_STATUS}" == "true" ] && [ -n "${GITHUB_TOKEN}" ] && [ -n "${GITHUB_REPOSITORY}" ]; then + + # make sure we honor DISABLE_ERRORS + if [ "${DISABLE_ERRORS}" == "true" ]; then + STATUS="success" + fi + ############################################## # Call the status API to create status check # ##############################################