diff --git a/janitor/src/clean.rs b/janitor/src/clean.rs index 69772f2..b6acb70 100644 --- a/janitor/src/clean.rs +++ b/janitor/src/clean.rs @@ -43,7 +43,7 @@ async fn check_key(key: String, mut client: redis::Client) -> bool { } pub async fn check_file(file: String, keys: Vec, prefix: String) -> Result { - if ! keys.iter().find(|x| x.chars().skip(prefix.len() + 4 + 2).collect::() == file).is_none() { + if keys.iter().find(|x| x.chars().skip(prefix.len() + 4 + 2).collect::() == file).is_none() { #[cfg(debug_assertions)] { log::debug!("File {file} is marked for deletion because it exists in the filesystem, but is not in the database"); }