mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 23:51:07 -05:00
Export LANGUAGE_LINTER_RULES
This commit is contained in:
parent
fdb14fc19c
commit
2a4c89e92f
1 changed files with 2 additions and 10 deletions
|
@ -417,6 +417,8 @@ GetLinterRules() {
|
|||
# Here we expect a rules file, so fail if not available.
|
||||
fatal " -> ${LANGUAGE_LINTER_RULES} rules file (${!LANGUAGE_LINTER_RULES}) doesn't exists. Terminating..."
|
||||
fi
|
||||
|
||||
eval "export ${LANGUAGE_LINTER_RULES}"
|
||||
}
|
||||
################################################################################
|
||||
#### Function GetStandardRules #################################################
|
||||
|
@ -1189,16 +1191,6 @@ if [[ ${TEST_CASE_RUN} != "false" ]]; then
|
|||
#############################################
|
||||
MULTI_STATUS='false'
|
||||
|
||||
#######################################
|
||||
# Print ENV before running test cases #
|
||||
#######################################
|
||||
debug "--- ENV (before running test cases) ---"
|
||||
debug "---------------------------------------"
|
||||
PRINTENV=$(printenv | sort)
|
||||
debug "ENV:"
|
||||
debug "${PRINTENV}"
|
||||
debug "---------------------------------------"
|
||||
|
||||
###########################
|
||||
# Run only the test cases #
|
||||
###########################
|
||||
|
|
Loading…
Reference in a new issue