Finish with an error message shown on the last step line.
(&self, msg: &str)
| 360 | |
| 361 | /// Finish with an error message shown on the last step line. |
| 362 | fn finish_error(&self, msg: &str) { |
| 363 | let _ = self |
| 364 | .mp |
| 365 | .println(format!("{} {}", "\u{2717}".red().bold(), msg.red())); |
| 366 | self.spinner.finish_and_clear(); |
| 367 | } |
| 368 | |
| 369 | /// Print a line above the progress bars (for static header content). |
| 370 | fn println(&self, msg: &str) { |
no test coverage detected