soldair / node-walkdir

Walk a directory tree emitting events based on the contents. API compatable with node-findit. Walk a tree of any depth. Fast! Handles permission errors. Stoppable. windows support. Pull requests are awesome. watchers are appreciated.
MIT License
131 stars 22 forks source link

path.sep -> path.join for nodejs v0.4 support #13

Closed maximbaz closed 10 years ago

maximbaz commented 11 years ago

You are right, in order to make #12 support old nodejs, we should use path.join. Must work now, take a look.

soldair commented 11 years ago

its ok i got it for you. i use path.sep||'/' no one used windows node back then because you needed cygwin and a strong spirit so / is ok.

soldair commented 11 years ago

yours is more correct though