summaryrefslogtreecommitdiff
path: root/src/files.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2023-04-24 19:00:04 +0200
committerfxqnlr <[email protected]>2023-04-24 19:00:04 +0200
commit96d400ca1275bf8444e5ad4dc6c8a06b01c3ea9d (patch)
tree740e6f16b78cfe9c8a1019580bef0de1a3491300 /src/files.rs
parent99c84b5a81f395f4f094b157019e84bfc4459df6 (diff)
downloadmodlist-96d400ca1275bf8444e5ad4dc6c8a06b01c3ea9d.tar
modlist-96d400ca1275bf8444e5ad4dc6c8a06b01c3ea9d.tar.gz
modlist-96d400ca1275bf8444e5ad4dc6c8a06b01c3ea9d.zip
add auto create dirs, database and default config
Diffstat (limited to 'src/files.rs')
-rw-r--r--src/files.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/files.rs b/src/files.rs
index 0b5bc3f..a73fc18 100644
--- a/src/files.rs
+++ b/src/files.rs
@@ -32,7 +32,7 @@ pub async fn download_versions(list: List, config: Cfg, versions: Vec<Version>)
32 if c.is_some() { 32 if c.is_some() {
33 print!("\t└({})Get version {} from cache", project_info.title, ver.id); 33 print!("\t└({})Get version {} from cache", project_info.title, ver.id);
34 //Force flush of stdout, else print! doesn't print instantly 34 //Force flush of stdout, else print! doesn't print instantly
35 std::io::stdout().flush().unwrap(); 35 std::io::stdout().flush()?;
36 copy_cached_version(&c.unwrap(), &dl_path); 36 copy_cached_version(&c.unwrap(), &dl_path);
37 println!(" ✓"); 37 println!(" ✓");
38 } else { 38 } else {