pasalino/TinyLanding

View on GitHub
app/middlewares/express.js

Summary

Maintainability
A
1 hr
Test Coverage

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

  FooterMiddleware: (app) => {
    const isProduction = app.get('env') === 'production';

    app.use((req, res, next) => {
      next(createError(404, 'Error 404 not found'));
Severity: Minor
Found in app/middlewares/express.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status