Print upload complete notice below progress bar, attempt to fix URL
This commit is contained in:
parent
3a90b0b0b1
commit
a20deeb759
1 changed files with 8 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue