path: fix toNamespacedPath on Windows
requested to merge github/fork/JaneaSystems/huseyin-30224-fix-namespacedpath-inconsistency into main
There was an inconsistency in the implementation of win32.toNamespacedPath()
. It appears that the forward slash /
wasn't consistently being converted to a backslash \
. This PR fixes this issue by returning resolvedPath
in the toNamespacedPath()
.
I've also added a test case to make sure that there will not be any regression.