fix build
This commit is contained in:
@@ -42,7 +42,7 @@ struct Args {
|
||||
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let args = Args::parse();
|
||||
if let Some(log_to) = args.log_to {
|
||||
if let Some(ref log_to) = args.log_to {
|
||||
flexi_logger::Logger::try_with_env_or_str("info")?
|
||||
.log_to_file(FileSpec::default().directory(&log_to))
|
||||
.log_to_stdout()
|
||||
|
||||
Reference in New Issue
Block a user