haraka/haraka-plugin-syslog

View on GitHub

Showing 2 of 2 total issues

Function syslog has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

exports.syslog = function (next, logger, log) {
  const plugin = this;

  switch (log.level.toUpperCase()) {
    case 'INFO':
Severity: Minor
Found in index.js - About 1 hr to fix

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

    exports.register = function () {
      const plugin = this;
    
      let options = 0;
    
    
    Severity: Minor
    Found in index.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language