pasalino/TinyLanding

View on GitHub
app/middlewares/production.js

Summary

Maintainability
A
1 hr
Test Coverage

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

module.exports = (app) => {
  app.use((req, res, next) => {
    res.oldRender = res.render;
    res.render = (view, options) => {
      this.oldRender(view, options, (err, html) => {
Severity: Minor
Found in app/middlewares/production.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status