From d74eb99066b28ffe314695017ee873f4d4782aca Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 6 Apr 2020 19:46:23 +0300 Subject: [PATCH] errors: do not bold the actual error message content --- vlib/v/util/errors.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/util/errors.v b/vlib/v/util/errors.v index da73571a79..cac3979581 100644 --- a/vlib/v/util/errors.v +++ b/vlib/v/util/errors.v @@ -114,7 +114,7 @@ pub fn formated_error(kind string /*error or warn*/, emsg string, filepath strin term.bold(term.bright_blue(kind)) } } - final_msg := if emanager.support_color { term.bold(emsg) } else { emsg } + final_msg := emsg // if emanager.support_color { term.bold(emsg) } else { emsg } final_context := if source_context.len > 0 { '\n$source_context' } else { '' } // return '$final_position $final_kind $final_msg $final_context'.trim_space()