this couldn't hurt to be create_dir_all instead of create_dir

This commit is contained in:
2025-09-12 05:12:11 +01:00
parent 71c3c69ea2
commit 90b32c5c5a
+1 -1
View File
@@ -9,7 +9,7 @@ mod util;
fn init_storage() {
if !crate::util::consts::path::APP_STORAGE.exists() {
std::fs::create_dir(crate::util::consts::path::APP_STORAGE.as_path()).unwrap();
std::fs::create_dir_all(crate::util::consts::path::APP_STORAGE.as_path()).unwrap();
}
}