diff options
| -rw-r--r-- | src/files.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/files.rs b/src/files.rs index 1ffbe7a..83d445c 100644 --- a/src/files.rs +++ b/src/files.rs @@ -207,6 +207,8 @@ pub fn clean_files(conn: &Connection, handler: Arc<AtomicBool>) -> Result<()> { #[cfg(not(test))] let spinner = ProgressBar::with_draw_target(None, ProgressDrawTarget::stdout_with_hz(60)) .with_style(ProgressStyle::with_template(SPINNER_TEMPLATE)?); + #[cfg(not(test))] + spinner.tick(); files.iter().for_each(|file| { if handler.load(Ordering::SeqCst) && !file.exists() { |
