therebelrobot/json-mock

View on GitHub
bin/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function start has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function start(object, filename) {
  var port = process.env.PORT || argv.port
  var hostname = argv.host === '0.0.0.0' ? 'localhost' : argv.host

  for (var prop in object) {
Severity: Minor
Found in bin/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status