glob-fs icon indicating copy to clipboard operation
glob-fs copied to clipboard

Fix readdirpromise

Open jpeters5392 opened this issue 7 years ago • 0 comments

  • 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

jpeters5392 avatar Jan 01 '19 20:01 jpeters5392