diff --git a/plugins/log/src/lib.rs b/plugins/log/src/lib.rs index 867c5780..89ee1ff4 100644 --- a/plugins/log/src/lib.rs +++ b/plugins/log/src/lib.rs @@ -264,15 +264,7 @@ impl LoggerBuilder { .into() } LogTarget::LogDir => { - let path = app_handle.path_resolver() - - - - - - - - .log_dir().unwrap(); + let path = app_handle.path_resolver().log_dir().unwrap(); if !path.exists() { fs::create_dir_all(&path).unwrap(); }