From dc95d4d80098d3f9e29e38a6841bbc27653cdceb Mon Sep 17 00:00:00 2001 From: Christian Winther Date: Wed, 17 Jan 2024 16:29:15 +0000 Subject: [PATCH] colors --- docker/shared/root/docker/helpers.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/shared/root/docker/helpers.sh b/docker/shared/root/docker/helpers.sh index b33528e16..802e21ea5 100644 --- a/docker/shared/root/docker/helpers.sh +++ b/docker/shared/root/docker/helpers.sh @@ -11,6 +11,7 @@ declare -g error_message_color="\033[1;31m" declare -g warn_message_color="\033[1;34m" declare -g notice_message_color="\033[1;34m" declare -g success_message_color="\033[1;32m" +# shellcheck disable=SC2034 declare -g section_message_color="\033[1;35m" declare -g color_clear="\033[1;0m" @@ -440,7 +441,7 @@ function await-database-ready() { ;; sqlite) - log-info "sqlite are always ready" + log-info "${success_message_color}sqlite is always ready${color_clear}" ;; *) @@ -448,7 +449,7 @@ function await-database-ready() { ;; esac - log-info "✅ Successfully connected to database" + log-info "${success_message_color}✅ Successfully connected to database${color_clear}" } # @description sleeps between 1 and 3 seconds to ensure a bit of randomness