logger: fix warning output

This commit is contained in:
João Marcos P. Bezerra 2024-03-15 19:01:35 -03:00
parent 41b6f1e9b4
commit eefa9bd87a

View File

@ -73,9 +73,9 @@ impl PrintMessage {
}
MessageLevel::Warning => {
if is_running_in_accessible_mode() {
Some(format!("{}Warning:{} ", *ORANGE, *RESET))
Some(format!("{}Warning:{} {}", *ORANGE, *RESET, self.contents))
} else {
Some(format!("{}[WARNING]{} ", *ORANGE, *RESET))
Some(format!("{}[WARNING]{} {}", *ORANGE, *RESET, self.contents))
}
}
}