mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-26 02:31:00 -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.
|
# Here we expect a rules file, so fail if not available.
|
||||||
fatal " -> ${LANGUAGE_LINTER_RULES} rules file (${!LANGUAGE_LINTER_RULES}) doesn't exists. Terminating..."
|
fatal " -> ${LANGUAGE_LINTER_RULES} rules file (${!LANGUAGE_LINTER_RULES}) doesn't exists. Terminating..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
eval "export ${LANGUAGE_LINTER_RULES}"
|
||||||
}
|
}
|
||||||
################################################################################
|
################################################################################
|
||||||
#### Function GetStandardRules #################################################
|
#### Function GetStandardRules #################################################
|
||||||
|
@ -1189,16 +1191,6 @@ if [[ ${TEST_CASE_RUN} != "false" ]]; then
|
||||||
#############################################
|
#############################################
|
||||||
MULTI_STATUS='false'
|
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 #
|
# Run only the test cases #
|
||||||
###########################
|
###########################
|
||||||
|
|
Loading…
Reference in a new issue