diff --git a/download-utils/src/lib.rs b/download-utils/src/lib.rs index 04f47e51c6..1eeacfddcd 100644 --- a/download-utils/src/lib.rs +++ b/download-utils/src/lib.rs @@ -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 {