Lambda-School-Labs/designhub-be

View on GitHub

Showing 1 of 3 total issues

Function seed has 85 lines of code (exceeds 50 allowed). Consider refactoring.
Open

exports.seed = function (knex) {
return knex('users')
.del()
.then(function () {
return knex('users').insert([
Severity: Major
Found in data/seeds/01_users.js - About 2 hrs to fix
    Severity
    Category
    Status
    Source
    Language