broccolijs / broccoli-persistent-filter

MIT License
12 stars 33 forks source link

Handle case where there's a cached dependencies object, but no dependencies. #205

Closed chriseppstein closed 4 years ago

chriseppstein commented 4 years ago

This is a subtle bug that has a work-around (add a file that's a dependency, clear the cache) but it really messes up the "Getting Started" experience when working with a new addon that uses dependencies.

rwjblue commented 4 years ago

Is it possible to add a test for the bug you ran into? Would make the failure case easier to understand and help ensure we don't regress...

chriseppstein commented 4 years ago

@rwjblue I've added a test case.