This commit is contained in:
Shane Kennedy 2025-07-05 16:53:59 +02:00 committed by GitHub
commit 30dbe9529c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -160,7 +160,7 @@ impl Cache {
/// Create a temporary cache directory.
pub fn temp() -> Result<Self, io::Error> {
let temp_dir = tempfile::tempdir()?;
let temp_dir = tempfile::tempdir_in("")?;
Ok(Self {
root: temp_dir.path().to_path_buf(),
refresh: Refresh::None(Timestamp::now()),