Commit c1e47ed8 authored by Jason Ginchereau's avatar Jason Ginchereau Committed by James M Snell
Browse files

path: fix path.relative UNC path result

When the result of a path.relative() is an absolute UNC path, it should
include the leading backslashes.

Fixes: https://github.com/nodejs/node/issues/8444
PR-URL: https://github.com/nodejs/node/pull/8523


Reviewed-By: default avatarBrian White <mscdex@mscdex.net>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarBartosz Sosnowski <bartosz@janeasystems.com>
parent 0f7fffb3
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