Commit 871396ce authored by Owen Smith's avatar Owen Smith Committed by Rod Vagg
Browse files

path: fix win32 relative() for UNC paths

win32 normalize() will output a trailing '\' for some UNC paths. trim
them before processing

Change by @mscdex

Add basic UNC path tests to win32 relative()

PR-URL: https://github.com/nodejs/node/pull/5456


Reviewed-By: default avatarBrian White <mscdex@mscdex.net>
Reviewed-By: default avatarRoman Reiss <me@silverwind.io>
parent 91782f18
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment