substack/node-parents — pull request #3 by roncli (2014-07-07 23:13:11+00:00)
Title: Fix for Windows absolute drive paths, update Travis tests

Currently, when used with absolute drive paths, this results in a weird tree of paths that begin with `c:` but no backslash before the first directory. This is due to the weird way that node.js handles `path.normalize("c:")`, returning `c:.`, which basically means cwd on the c: drive, which is not what is wanted in this context.

This resolves the issue by ensuring that if an absolute drive path is given, it uses `c:\\` instead.

This also adds 0.10 to the travis tests, and updates them to expect `c:\\` instead of `c:` or `c:.`