Cimpress-MCP/felix

View on GitHub
handler.js

Summary

Maintainability
A
1 hr
Test Coverage

Function publishReports has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function publishReports (reports, topicArn) {
  const sns = new Aws.SNS();

  let status = 'Success';
  if (reports.some(r => r.status === 'error')) {
Severity: Minor
Found in handler.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status