NatLibFi/http-client-x

View on GitHub
lib/nodejs/adapter.js

Summary

Maintainability
A
1 hr
Test Coverage

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

  module.exports = function(method, str_url, headers, body)
  {
    return new Promise(function(resolveCallback, rejectCallback) {

      function handleResponse(response)
Severity: Minor
Found in lib/nodejs/adapter.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status