(cherry picked from commit 11fc684f3c
)
This commit is contained in:
committed by
Michael Vines
parent
77a4354b93
commit
2cd832521a
@ -129,6 +129,8 @@ fn download_to_temp_archive(
|
|||||||
if expected_sha256.is_some() && expected_sha256 != Some(&temp_file_sha256) {
|
if expected_sha256.is_some() && expected_sha256 != Some(&temp_file_sha256) {
|
||||||
Err(io::Error::new(io::ErrorKind::Other, "Incorrect hash"))?;
|
Err(io::Error::new(io::ErrorKind::Other, "Incorrect hash"))?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
source.progress_bar.finish_and_clear();
|
||||||
Ok((temp_dir, temp_file, temp_file_sha256))
|
Ok((temp_dir, temp_file, temp_file_sha256))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user