This commit is contained in:
Jonas Kruckenberg
2022-12-14 20:29:38 +01:00
parent ce18e44181
commit 1a65ec95f2
+1 -9
View File
@@ -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();
}