deps: deal with deprecation in tempfile crate
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -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(_) => {
|
||||
|
||||
Reference in new issue
Block a user