mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-28 21:51:47 +02:00
fmt
This commit is contained in:
1 parent
ce18e44181
commit
1a65ec95f2
1 file changed
+1
-9
@@ -264,15 +264,7 @@ impl LoggerBuilder {
|
|||||||
.into()
|
.into()
|
||||||
}
|
}
|
||||||
LogTarget::LogDir => {
|
LogTarget::LogDir => {
|
||||||
let path = app_handle.path_resolver()
|
let path = app_handle.path_resolver().log_dir().unwrap();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.log_dir().unwrap();
|
|
||||||
if !path.exists() {
|
if !path.exists() {
|
||||||
fs::create_dir_all(&path).unwrap();
|
fs::create_dir_all(&path).unwrap();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user