fix: test
This commit is contained in:
parent
0b7477ea56
commit
fc7d8a7a9c
@ -47,7 +47,7 @@ pub fn ensure_thread_dir_exists<R: Runtime>(
|
|||||||
ensure_data_dirs(app_handle.clone())?;
|
ensure_data_dirs(app_handle.clone())?;
|
||||||
let thread_dir = get_thread_dir(app_handle, thread_id);
|
let thread_dir = get_thread_dir(app_handle, thread_id);
|
||||||
if !thread_dir.exists() {
|
if !thread_dir.exists() {
|
||||||
fs::create_dir(&thread_dir).map_err(|e| e.to_string())?;
|
fs::create_dir_all(&thread_dir).map_err(|e| e.to_string())?;
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user