maestro-server/server-app

View on GitHub
app/core/services/UploaderService.js

Summary

Maintainability
A
1 hr
Test Coverage
D
64%

Function UploaderService has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const UploaderService = (Entity) => {
  const typeU = process.env.MAESTRO_UPLOAD_TYPE || TYPE_DEFAULT;
  const FUploaderRepository = require(`core/repositories/uploader${typeU}Repository`);

  const UploaderRepository = FUploaderRepository(Entity.name);
Severity: Minor
Found in app/core/services/UploaderService.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status