fix: linting issues
This commit is contained in:
parent
8b2d1b9dbd
commit
1966acf92d
@ -17,7 +17,7 @@ async fn main() -> std::io::Result<()> {
|
||||
let args = Args::parse();
|
||||
|
||||
// Initialize logger
|
||||
if args.log_level != "" {
|
||||
if !args.log_level.is_empty() {
|
||||
env_logger::init_from_env(Env::default().default_filter_or(args.log_level));
|
||||
} else {
|
||||
env_logger::init_from_env(Env::default().default_filter_or("info"));
|
||||
|
@ -16,7 +16,13 @@ impl Config {
|
||||
}
|
||||
}
|
||||
|
||||
pub(crate) fn load_from_file(config_path: &str) -> Result<Config, Error> {
|
||||
pub(crate) fn load_from_file(_config_path: &str) -> Result<Config, Error> {
|
||||
unimplemented!();
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for Config {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user