tunnckoCore/create-readdir-stream

View on GitHub
index.js

Summary

Maintainability
A
1 hr
Test Coverage

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

    There are no issues that match your filters.

    Category
    Status