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
130 stars 22 forks source link

Use cross-platform node's path.sep #12

Closed maximbaz closed 11 years ago

maximbaz commented 11 years ago

Hi Ryan, I've changed your script to use cross-platform path separator to make it work on Windows more smoothly.

soldair commented 11 years ago

hey i think path .sep landed in 0.8. to support 0.6 also we'll have to use path.join i think