Showing 1 of 1 total issue
Function createReaddirStream
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
proto.createReaddirStream = function createReaddirStream (dir, options) {
dir = utils.isBuffer(dir) ? dir.toString() : dir
if (typeof dir !== 'string') {
var msg = 'expect `dir` to be a string or Buffer'