rrdelaney / jadelint

:dragon: A linter for the Jade templating language
https://rrdelaney.github.io/jadelint
MIT License
6 stars 1 forks source link

Recursion for non-unix path, and no actual path-change #16

Closed PyroSA closed 9 years ago

PyroSA commented 9 years ago

In Windows you'll never reach '/'

It should be faster to just change the path string and not sync-step down the path path.

PyroSA commented 9 years ago

An alternative would be to retain the current code, but use a path.format to get the root format.

PyroSA commented 9 years ago

@rrdelaney - I removed the explicit return.

rrdelaney commented 9 years ago

:+1: