mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-23 05:02:15 -05:00
Use TFLINT_LOG environment variable instead of the deprecated --loglevel option (#3414)
This commit is contained in:
parent
b4f9dd9ef4
commit
2053621293
1 changed files with 2 additions and 1 deletions
|
@ -509,12 +509,13 @@ function RunAdditionalInstalls() {
|
||||||
if [ "${ACTIONS_RUNNER_DEBUG}" = "true" ]; then
|
if [ "${ACTIONS_RUNNER_DEBUG}" = "true" ]; then
|
||||||
TF_LOG_LEVEL="debug"
|
TF_LOG_LEVEL="debug"
|
||||||
fi
|
fi
|
||||||
|
debug "Set the tflint log level to: ${TF_LOG_LEVEL}"
|
||||||
#########################
|
#########################
|
||||||
# Run the build command #
|
# Run the build command #
|
||||||
#########################
|
#########################
|
||||||
BUILD_CMD=$(
|
BUILD_CMD=$(
|
||||||
cd "${WORKSPACE_PATH}" || exit 0
|
cd "${WORKSPACE_PATH}" || exit 0
|
||||||
tflint --init --loglevel="${TF_LOG_LEVEL}" -c "${TERRAFORM_TFLINT_LINTER_RULES}" 2>&1
|
TFLINT_LOG="${TF_LOG_LEVEL}" tflint --init -c "${TERRAFORM_TFLINT_LINTER_RULES}" 2>&1
|
||||||
)
|
)
|
||||||
|
|
||||||
##############
|
##############
|
||||||
|
|
Loading…
Reference in a new issue