glob-fs
glob-fs copied to clipboard
Fix readdirpromise
- 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