weacast/weacast-alert

View on GitHub

Showing 2 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

    FIXME found
    Open

        // FIXME: check for a specific duration where conditions are met
    Severity: Minor
    Found in src/services/alerts/alerts.service.js by fixme
    Severity
    Category
    Status
    Source
    Language