andela-gukpere/multi-core-node-js-example

View on GitHub
server/app.js

Summary

Maintainability
A
1 hr
Test Coverage

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

  module.exports = (appdir, cb) => {
    app.dir = appdir;

    // static files
    app.use(express.static(app.dir + '/public'));
Severity: Minor
Found in server/app.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status