SylowTech/sylow

View on GitHub
cli/new-entity.js

Summary

Maintainability
A
1 hr
Test Coverage

Function newEntity has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function newEntity(username, domain, admin) {
  utils.mongooseConnect();

  if (!username) {
    console.error('Name missing');
Severity: Minor
Found in cli/new-entity.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status