jmeas/api-pls

View on GitHub
packages/api-pls-postgres-adapter/sync/util/build.js

Summary

Maintainability
A
1 hr
Test Coverage

Function exports has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function(resourcesDir) {
  // Load our resources. This will sort them based on their file name,
  // which won't work when we run migrations. This is because relationships
  // require that the migrations be run in the correct order.
  const resources = loadResourceModels(resourcesDir);
Severity: Minor
Found in packages/api-pls-postgres-adapter/sync/util/build.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status