No description provided.
Remove duplication when generating list of entries to process
Posts and Drafts share the same logic to get the list of files to
process into objects when generating the site. Factor this logic into
its own method and use it when reading posts and reading drafts.
Remove duplication when aggregating post information
Mind writing tests for those 2 methods you wrote? Don't want to break them in the future. Thanks!
They're already covered indirectly by other tests. What do we gain by
explicitly testing them?
Just made sneaky changes to both methods and tests failed like they should! Thanks for DRY-ing up the code :)