We don't need those color codes... and warnings are already warnings...

This commit is contained in:
Alexandre Aubin 2020-05-22 13:59:21 +02:00
parent bdbf1822c7
commit 2a631fa23d

View file

@ -80,7 +80,7 @@ ynh_print_warn () {
# Manage arguments with getopts
ynh_handle_getopts_args "$@"
ynh_print_log "\e[93m\e[1m[WARN]\e[0m ${message}" >&2
ynh_print_log "${message}" >&2
}
# Print an error on stderr
@ -97,7 +97,7 @@ ynh_print_err () {
# Manage arguments with getopts
ynh_handle_getopts_args "$@"
ynh_print_log "\e[91m\e[1m[ERR]\e[0m ${message}" >&2
ynh_print_log "[Error] ${message}" >&2
}
# Execute a command and print the result as an error
@ -332,7 +332,7 @@ ynh_debug () {
if [ -n "$message" ]
then
ynh_print_log "\e[34m\e[1m[DEBUG]\e[0m ${message}" >&2
ynh_print_log "[Debug] ${message}" >&2
fi
if [ "$trace" == "1" ]