deps: deal with deprecation in tempfile crate

This commit is contained in:
Wez Furlong committed 2025-05-17 09:21:11 -07:00
1 parent 0fb80ca503
commit ab6a92df74
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -160,7 +160,7 @@ impl RepoSpec {
let target_dir = TempDir::new_in(&plugins_dir)?;
log::debug!("Cloning {} into temporary dir {target_dir:?}", self.url);
Repository::clone_recurse(&self.url, target_dir.path())?;
let target_dir = target_dir.into_path();
let target_dir = target_dir.keep();
let checkout_path = self.checkout_path();
match std::fs::rename(&target_dir, &checkout_path) {
Ok(_) => {