BoolJS/booljs

View on GitHub
lib/api/loaders/server/router.js

Summary

Maintainability
A
1 hr
Test Coverage

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

module.exports = async function (instance, loader, router) {
    const { routes } = instance.getComponents();

    // Get route middleware and add it by policy types
    const routeMiddleware = Plugins.list(RouteMiddleware);
Severity: Minor
Found in lib/api/loaders/server/router.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status