mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
371ea501fd
commit
903850935f
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ impl Manager {
|
|||
} else if let Err(e) = fs::rename(&old, &new).await {
|
||||
failed.push((o, n, e.into()));
|
||||
} else if let Ok(f) = File::from(new.into()).await {
|
||||
succeeded.insert(Url::from(old), f.clone());
|
||||
succeeded.insert(Url::from(old), f);
|
||||
} else {
|
||||
failed.push((o, n, anyhow!("Failed to retrieve file info")));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue