Closed
Description
relativePath("foo", ".") returns wrong path
Example
echo relativePath("foo", ".")
Current Output
../foo
Expected Output
foo
this is clearly wrong, eg:
pwd
/Users/timothee/git_clone/nim/nimterop
which itself contains ./nimterop
echo relativePath("nimterop", ".").toAbsolute
should return /Users/timothee/git_clone/nim/nimterop/nimterop
but instead returns /Users/timothee/git_clone/nim/nimterop
Possible Solution
- In file xyz there is a call that might be the cause of it.
Additional Information
- recent devel e11ecc8
- even
relativePath("foo".normalizedPath, ".".normalizedPath)
returns the wrong path
Metadata
Metadata
Assignees
Labels
No labels