From 218a8675708a0dfe0cc14ea0bb0de69d30f85228 Mon Sep 17 00:00:00 2001 From: dvvvvvv Date: Tue, 4 Feb 2020 14:19:24 +0900 Subject: [PATCH] print . when path is same with base path --- src/meta/name.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meta/name.rs b/src/meta/name.rs index 7d70532..39f2c35 100644 --- a/src/meta/name.rs +++ b/src/meta/name.rs @@ -62,7 +62,7 @@ impl Name { }; if target_path == base_path { - return PathBuf::from(""); + return PathBuf::from("."); } let shared_components: PathBuf = target_path