Fix more colors
This commit is contained in:
@@ -33,13 +33,13 @@ function print_error_stack {
|
||||
}
|
||||
|
||||
function info {
|
||||
printf "%s %s\n" $(colthis cyan "[info]") "$*"
|
||||
printf "%s %s\n" $(cyan echo "[info]") "$*"
|
||||
}
|
||||
|
||||
function error {
|
||||
global_errf=1
|
||||
local_errf=1
|
||||
current_error_line=$(printf "%s %s" $(colthis red "[error]") "$*")
|
||||
current_error_line=$(printf "%s %s" $(red echo "[error]") "$*")
|
||||
global_error_stack+=( "$current_error_line" )
|
||||
>&2 printf "%s\n" "$current_error_line"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user