mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 10:10:56 -05:00
fix: wrap version info and logo with logs (#5547)
Use log functions to print linter versions and the super-linter logo so that they respect the configured log level. Close #5337
This commit is contained in:
parent
8f405c1a9c
commit
bd56ae5608
1 changed files with 3 additions and 4 deletions
|
@ -315,7 +315,7 @@ done
|
||||||
|
|
||||||
Header() {
|
Header() {
|
||||||
if [[ "${SUPPRESS_POSSUM}" == "false" ]]; then
|
if [[ "${SUPPRESS_POSSUM}" == "false" ]]; then
|
||||||
/bin/bash /action/lib/functions/possum.sh
|
info "$(/bin/bash /action/lib/functions/possum.sh)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
info "---------------------------------------------"
|
info "---------------------------------------------"
|
||||||
|
@ -722,9 +722,8 @@ Header
|
||||||
################################################
|
################################################
|
||||||
UpdateLoopsForImage
|
UpdateLoopsForImage
|
||||||
|
|
||||||
if ! cat "${VERSION_FILE}"; then
|
# Print linter versions
|
||||||
fatal "Failed to view version file: ${VERSION_FILE}"
|
info "$(cat "${VERSION_FILE}")"
|
||||||
fi
|
|
||||||
|
|
||||||
#######################
|
#######################
|
||||||
# Get GitHub Env Vars #
|
# Get GitHub Env Vars #
|
||||||
|
|
Loading…
Reference in a new issue