Code formatting
All checks were successful
Rust Build / Check (pull_request) Successful in 35s
Rust Build / Test Suite (pull_request) Successful in 31s
Rust Build / Rustfmt (pull_request) Successful in 29s
Rust Build / Clippy (pull_request) Successful in 31s
Rust Build / build (pull_request) Successful in 46s

This commit is contained in:
2025-07-23 16:18:49 -04:00
parent 14ab07b9c6
commit 2b83906cd1
2 changed files with 22 additions and 16 deletions

View File

@@ -107,20 +107,20 @@ async fn wipe_data_from_queues(
}
}
async fn cleanup(song_queue_path: &String, coverart_queue_path: &String) -> Result<(), std::io::Error> {
async fn cleanup(
song_queue_path: &String,
coverart_queue_path: &String,
) -> Result<(), std::io::Error> {
match the_rest::cleanup::clean_song_queue(song_queue_path) {
Ok(_) => {
}
Ok(_) => {}
Err(err) => {
eprintln!("Error: Problem cleaning up SongQueue files {err:?}");
}
}
match the_rest::cleanup::clean_coverart_queue(coverart_queue_path) {
Ok(_) => {
Ok(())
}
Err(err) => Err(err)
Ok(_) => Ok(()),
Err(err) => Err(err),
}
}