Skip to content

Commit b50ddb1

Browse files
committed
CLI: Fix that Recent mode can't resolve the conflict of the same directory name
1 parent 781d423 commit b50ddb1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CLI/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ bool TestTarget(string path)
227227
}
228228
*/
229229

230-
if (path.EndsWith($"\{directory.Name}"))
230+
if (path.EndsWith($"\\{directory.Name}") || path.EndsWith($"{directory.Name}"))
231231
{
232232
if (link.Target == directory.FullName)
233233
{

0 commit comments

Comments
 (0)