toymachiner62/node-mongo-seeds

View on GitHub
lib/seed.js

Summary

Maintainability
A
1 hr
Test Coverage

Function seedDb has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function seedDb(dir, client, list) {

  let db = client.db()
  console.log('Seeding files from directory ' + path.resolve(dir));
  console.log('----------------------');
Severity: Minor
Found in lib/seed.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status