2 Commits

Author SHA1 Message Date
949ff87bca typo 2023-10-28 19:49:21 +02:00
8685961eed clippy 2023-10-28 19:38:53 +02:00

View File

@ -239,10 +239,10 @@ fn update_dir(
"[{}] Downloading outdated or missing files for {}, {}", "[{}] Downloading outdated or missing files for {}, {}",
"Info".bright_magenta(), "Info".bright_magenta(),
remote_dir, remote_dir,
misc::human_readable_bytes(total_download_size(&files_to_download, &remote_dir)) misc::human_readable_bytes(total_download_size(&files_to_download, remote_dir))
); );
for file in files_to_download { for file in files_to_download {
let file_name = &file.name.replace(&format!("{}/", remote_dir), "/"); let file_name = &file.name.replace(&remote_dir_pre, "");
let file_path = dir.join(file_name); let file_path = dir.join(file_name);
println!( println!(
"[{}] {} ({})", "[{}] {} ({})",