errors: do not bold the actual error message content

pull/4267/head
Delyan Angelov 2020-04-06 19:46:23 +03:00
parent 7a99949f0e
commit d74eb99066
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ pub fn formated_error(kind string /*error or warn*/, emsg string, filepath strin
term.bold(term.bright_blue(kind)) 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 { '' } final_context := if source_context.len > 0 { '\n$source_context' } else { '' }
// //
return '$final_position $final_kind $final_msg $final_context'.trim_space() return '$final_position $final_kind $final_msg $final_context'.trim_space()