print . when path is same with base path

This commit is contained in:
dvvvvvv 2020-02-04 14:19:24 +09:00 committed by Abin Simon
parent c404020e17
commit 218a867570

View file

@ -62,7 +62,7 @@ impl Name {
};
if target_path == base_path {
return PathBuf::from("");
return PathBuf::from(".");
}
let shared_components: PathBuf = target_path