Commit 2ba84606 authored by Phillip Johnsen's avatar Phillip Johnsen Committed by Roman Reiss
Browse files

path: assert path.join() arguments equally

Re-use `assertPath()` when asserting path argument types in `join()`
as throughout the rest of the `path` module.

This also ensures the same error message generated for posix as for
win32.

PR-URL: https://github.com/nodejs/io.js/pull/2159


Reviewed-By: default avatarRoman Reiss <me@silverwind.io>
parent bd016032
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