Skip to content

Conversation

jpeters5392
Copy link

  • readdirPromise was emitting the end event prior to the promise resolving so the emitted list of files was always going to be an empty array
  • Files excluded by middleware were still getting included in the resolved promise's value, so there is now a filter step prior to resolving that filters out excluded values
  • fixed naming of some tests since it seemed like there were some copy/paste values

Joel Peterson added 2 commits January 1, 2019 14:14
* it was emitting the end event prior to the promise completing so the emitted files was an empty array
* excluded files were still getting returned in the resolved promise's value, so they are now filtered out prior to completing the promise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant