summaryrefslogtreecommitdiff
path: root/src/files.rs
diff options
context:
space:
mode:
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 {