1
0
Fork 0
mirror of https://github.com/lise-henry/crowbook synced 2024-05-28 22:26:25 +02:00

fix empty warnings

in simplelog v0.8 the default padding that was introduced in v0.6
has been turned off again. see Drakulix/simplelog.rs#48
This commit is contained in:
stefan0xC 2022-02-25 21:05:41 +01:00
parent 2a698eb40a
commit 86ca64ea0e

View File

@ -272,8 +272,8 @@ pub fn try_main() -> Result<()> {
if line.starts_with("[ERROR]") {
let line = &line[8..];
print_error(line, emoji);
} else if line.starts_with("[ WARN]") {
let line = &line[8..];
} else if line.starts_with("[WARN]") {
let line = &line[7..];
print_warning(line, emoji);
}
}