mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 12:42:09 -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() {
|
||||
if [[ "${SUPPRESS_POSSUM}" == "false" ]]; then
|
||||
/bin/bash /action/lib/functions/possum.sh
|
||||
info "$(/bin/bash /action/lib/functions/possum.sh)"
|
||||
fi
|
||||
|
||||
info "---------------------------------------------"
|
||||
|
@ -722,9 +722,8 @@ Header
|
|||
################################################
|
||||
UpdateLoopsForImage
|
||||
|
||||
if ! cat "${VERSION_FILE}"; then
|
||||
fatal "Failed to view version file: ${VERSION_FILE}"
|
||||
fi
|
||||
# Print linter versions
|
||||
info "$(cat "${VERSION_FILE}")"
|
||||
|
||||
#######################
|
||||
# Get GitHub Env Vars #
|
||||
|
|
Loading…
Reference in a new issue