CodeTheChangeUBC/sasc

View on GitHub
server.js

Summary

Maintainability
A
1 hr
Test Coverage

Function server has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

exports.server = function(database, databaseMode) {
  // DB setup
  database.connect(databaseMode, function(err) {
    if (err) {
      console.log('Unable to connect to MySQL.');
Severity: Minor
Found in server.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status