tunnckoCore/create-readdir-stream

View on GitHub

Showing 1 of 1 total issue

Function createReaddirStream has 42 lines of code (exceeds 25 allowed). Consider refactoring.
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'
Severity: Minor
Found in index.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language