Print upload complete notice below progress bar, attempt to fix URL

This commit is contained in:
timvisee 2020-09-24 22:43:01 +02:00
parent 3a90b0b0b1
commit a20deeb759
No known key found for this signature in database
GPG key ID: B8DB720BC383E172

View file

@ -59,9 +59,14 @@ impl<'a> ProgressReporter for ProgressBar<'a> {
/// Finish the progress.
fn finish(&mut self) {
self.progress_bar
let progress_bar = self
.progress_bar
.as_mut()
.expect("progress bar not yet instantiated")
.finish_print(self.msg_finish);
.expect("progress bar not yet instantiated");
#[cfg(not(target_os = "windows"))]
progress_bar.finish_print(self.msg_finish);
#[cfg(target_os = "windows")]
progress_bar.finish_println(self.msg_finish);
}
}