Dulce-Work-Schedule/2018.1-Dulce_Sector

View on GitHub
Server/_sector.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function exports has 62 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function(options){

  this.add('role:sector,cmd:create', async function create (msg,respond) {
    var sector = this.make('sectors')
    sector.name = msg.name
Severity: Major
Found in Server/_sector.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status