mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-07 12:05:46 +00:00
logger: fix warning output
This commit is contained in:
parent
88e9d9afc7
commit
ccbdceac34
@ -73,9 +73,9 @@ impl PrintMessage {
|
|||||||
}
|
}
|
||||||
MessageLevel::Warning => {
|
MessageLevel::Warning => {
|
||||||
if is_running_in_accessible_mode() {
|
if is_running_in_accessible_mode() {
|
||||||
Some(format!("{}Warning:{} ", *ORANGE, *RESET))
|
Some(format!("{}Warning:{} {}", *ORANGE, *RESET, self.contents))
|
||||||
} else {
|
} else {
|
||||||
Some(format!("{}[WARNING]{} ", *ORANGE, *RESET))
|
Some(format!("{}[WARNING]{} {}", *ORANGE, *RESET, self.contents))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user