mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
18ee02a98b
commit
235dba6474
1 changed files with 2 additions and 2 deletions
|
|
@ -68,8 +68,8 @@ impl Provider for Sftp {
|
||||||
continue;
|
continue;
|
||||||
} else if s == name {
|
} else if s == name {
|
||||||
return Ok(entry.path());
|
return Ok(entry.path());
|
||||||
} else {
|
} else if similar.is_none() {
|
||||||
similar = Some(name);
|
similar = Some(s.into_owned());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue