File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -209,7 +209,13 @@ for LANGUAGE in "${!LINTER_NAMES_ARRAY[@]}"; do
209209 elif [[ " ${LINTER} " == " R" ]]; then
210210 GET_VERSION_CMD=" $( " ${LINTER} " --version | head -n 1 | awk ' { print $3 }' ) "
211211 elif [[ ${LINTER} == " renovate-config-validator" ]]; then
212- GET_VERSION_CMD=" $( renovate --version 2> /dev/null) "
212+ GET_VERSION_CMD=" $(
213+ # Renovate uses LOG_LEVEL as the variable to set its log level,
214+ # potentially conflicting with the Super-linter LOG_LEVEL variable. Set
215+ # the Renovate log level to WARN so that we don't get INFO level messages
216+ # in the output when fetching the renovate version.
217+ LOG_LEVEL=WARN renovate --version 2> /dev/null
218+ ) "
213219 elif [[ " ${LINTER} " == " ruff" ]]; then
214220 GET_VERSION_CMD=" $( " ${LINTER} " --version | awk ' { print $2 }' ) "
215221 elif [[ " ${LINTER} " == " rustfmt" ]]; then
You can’t perform that action at this time.
0 commit comments