-
Notifications
You must be signed in to change notification settings - Fork 34
using path.parse() method to check if the provided path is relative o… #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
||
// Checks if the provided path is relative or not | ||
const isModule = pathname => { | ||
const parsed = path.parse(pathname); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, path.parse()
is available only in Node.js 0.12+
Hi, I tried to fix that windows Issue with new path module methods. I would like to know if there is any opportunity to check it on windows? |
I'm fine with dropping Node v0.10 support (unless there's a good reason not to?) but I don't have a windows machine to test on. Maybe @joezimjs could give this a try and I'll merge it if it fixes his problem? |
I don't know any :) |
I cloned @sullenor's repo and went into the
|
Any progress on this? I can test on windows if you need me to, although can't you just set up travis to run the tests on windows? |
Also, I don't quite understand what the |
Issue: #16