SimenB / stylint

Improve your Stylus code with Stylint
https://simenb.github.io/stylint/
GNU General Public License v2.0
348 stars 61 forks source link

Fix issue with recursive lookup #445

Open phaistonian opened 5 years ago

phaistonian commented 5 years ago

The way _recurseDirectories works is a bit buggy since it the resulting new path is 2 levels (instead of one) down compared to the previous iteration.

This is because the joined path has as root not the initial cwd but the resulting one.

This little PR addressed that.