mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-05 02:55:31 +00:00
logger: fix warning output
This commit is contained in:
parent
88e9d9afc7
commit
ccbdceac34
@ -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))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user