-
Notifications
You must be signed in to change notification settings - Fork 4
Using path
to fully support windows
#9
Comments
Ah, yes, I remember thinking about that ages ago, then forgot. Thanks, will have a look at that again this weekend. |
Several path functions are very useful and have allowed me to cut down much of my own resolving code! However, by introducing windows resolvability on the server, they will still fail on the client.
Currently undecided on what is the best way to proceed. |
path has already been forked for the client by SubStack |
substack's fork is posix only. I might take the win32 bits from node and include it/posix version conditionally. Anyway, been a bit busy over xmas, but things are making progress again. |
Using substack's posix fork now. Can write a w32 version and include it conditionally. But due to above reasons, not sure how to proceed yet, so I'm putting it on hold for 0.15.0 |
Code like ref
reqStr[0...2] is './' or reqStr[0...3] is '../'
will break in windows because of
/
vs\\
.One should favor using methods from
path
likepath.relative
The text was updated successfully, but these errors were encountered: