ksmithut/mongoose-role

View on GitHub

Showing 1 of 1 total issue

Function role has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function role (schema, options) {
  // Set the default options
  options = Object.assign(
    {
      roles: [],
Severity: Minor
Found in index.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language