Minor fixes in cli (#1837)
* not using bin, until needed also removes an unnecessary warning! * removed redundant line maybe, it was readability? * using same `if let` pattern as below * to `get_bin(args.bin)?` with `Ok(())` at last * unreachable!
This commit is contained in:
1 parent
0feca31a4a
commit
1db8bd7edd
3 files changed
+40
-40
No files matched your search
@@ -25,7 +25,6 @@ pub fn set_up_logging() {
|
||||
colors_line.get_color(&record.level()).to_fg_str()
|
||||
),
|
||||
level = colors_level.color(record.level()),
|
||||
message = message,
|
||||
));
|
||||
})
|
||||
.level(match std::env::var("DIOXUS_LOG") {
|
||||
|
||||
Reference in new issue
Block a user