fix(ci): repair post-merge test gates

This commit is contained in:
cxymds
2026-08-24 17:01:29 +08:00
committed by GitHub
parent 4ceed58be4
commit c2b2b4ffd4
3 changed files with 8 additions and 6 deletions
+1 -2
View File
@@ -277,9 +277,8 @@ pub async fn cached_access(path: impl AsRef<Path>) -> io::Result<()> {
if let Some(exists) = BUCKET_EXISTENCE_CACHE.check_exists(&path_buf) {
if exists {
return Ok(());
} else {
return Err(io::Error::new(io::ErrorKind::NotFound, "bucket not found (cached)"));
}
return Err(io::Error::new(io::ErrorKind::NotFound, "bucket not found (cached)"));
}
let result = fs::metadata(&path_buf).await;