fix: Fix color formatting for success and error messages

This commit is contained in:
Timo Reymann
2023-02-16 12:26:02 +01:00
parent b155320abd
commit 6d8aad022e
+2 -2
View File
@@ -7,7 +7,7 @@
# @example
# show_error "Oh snap, that went horribly wrong"
show_error() {
echo -e "\e[91;1m\u2718 $1" >&2
echo -e "\e[91;1m\u2718 $1\e[0m" >&2
}
# @description Display success message in stderr, prefixed by cross emoji
@@ -15,5 +15,5 @@ show_error() {
# @example
# show_success "There it is! World peace."
show_success() {
echo -e "\e[92;1m\u2714 $1" >&2
echo -e "\e[92;1m\u2714 $1\e[0m" >&2
}