Inlife/nexrender

View on GitHub
packages/nexrender-provider-s3/src/uri.js

Summary

Maintainability
A
1 hr
Test Coverage

Function uriDigitalOcean has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function uriDigitalOcean(src) {
  const parsed = url.parse(src)
  const result = parsed.host.match(/(([^.]+)\.)?([^.]+)\.digitaloceanspaces\.com/)

  if (!result) {
Severity: Minor
Found in packages/nexrender-provider-s3/src/uri.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status