Avoid creating "..tmp" files

This commit is contained in:
Michael Vines 2020-12-28 08:58:09 -08:00
parent d830406991
commit 90deadb396
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ pub fn download_file(
fs::create_dir_all(destination_file.parent().unwrap()).map_err(|err| err.to_string())?;
let temp_destination_file = destination_file.with_extension(".tmp");
let temp_destination_file = destination_file.with_extension("tmp");
let progress_bar = new_spinner_progress_bar();
if use_progress_bar {