mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-23 07:07:07 +03:00
remove debug statement, fix clippy on non-windows
This commit is contained in:
parent
a4575c8a00
commit
d50473ec95
@ -16,7 +16,7 @@
|
||||
|
||||
use std::{fmt, sync::Once};
|
||||
|
||||
use anyhow::{anyhow, Result};
|
||||
use anyhow::Result;
|
||||
use colored::Colorize;
|
||||
use tracing::{event::Event, subscriber::Subscriber};
|
||||
use tracing_subscriber::{
|
||||
@ -215,10 +215,7 @@ pub fn init_logger(_app_name: &'static str, verbosity: usize) -> Result<()> {
|
||||
#[cfg(target_family = "windows")]
|
||||
match ansi_term::enable_ansi_support() {
|
||||
Ok(_) => {}
|
||||
Err(_) => {
|
||||
println!("YOTE");
|
||||
return Err(anyhow!("Error: Failedto enable ansi_support"));
|
||||
}
|
||||
Err(_) => return Err(anyhow::anyhow!("Error: Failedto enable ansi_support")),
|
||||
};
|
||||
|
||||
let subscriber = FmtSubscriber::builder()
|
||||
|
Loading…
Reference in New Issue
Block a user