mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-14 14:12:31 +00:00
print . when path is same with base path
This commit is contained in:
parent
c404020e17
commit
218a867570
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ impl Name {
|
||||||
};
|
};
|
||||||
|
|
||||||
if target_path == base_path {
|
if target_path == base_path {
|
||||||
return PathBuf::from("");
|
return PathBuf::from(".");
|
||||||
}
|
}
|
||||||
|
|
||||||
let shared_components: PathBuf = target_path
|
let shared_components: PathBuf = target_path
|
||||||
|
|
Loading…
Reference in a new issue