weacast/weacast-alert

View on GitHub

Showing 1 of 2 total issues

Avoid deeply nested control flow statements.
Open

          if (typeof probeFilter === 'function' && !probeFilter(probe)) {
            logger.info('Skipping default alert ' + defaultAlert.fileName + ' for probe ' + probe._id)
            continue
          }
Severity: Major
Found in src/index.js - About 45 mins to fix
    Severity
    Category
    Status
    Source
    Language