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 duplicates without globalDupe #286

Closed wojciechczerniak closed 8 years ago

wojciechczerniak commented 8 years ago

Cache file change within duplicates check module so we can recognize when file changes

Current tests where this.cache.prevFile equals this.cache.file never happen. This simple lastFile check works fine keeping all the logic within duplicates module.