ContainerHQ/arkis-api

View on GitHub
app/middlewares/docker.js

Summary

Maintainability
A
1 hr
Test Coverage

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

module.exports = function(req, res, next) {
  req.docker = CURRENT_DOCKER;
  res.docker = function(opts={}, callback=opts) {
    let stream = opts.stream || false,
      type = opts.type || 'application/json',
Severity: Minor
Found in app/middlewares/docker.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status