qiu8310/serpent

View on GitHub
projects/serpent-common-cli/src/npm/test.js

Summary

Maintainability
A
1 hr
Test Coverage

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

function fetch(url) {
  return new Promise((resolve, reject) => {
    const isHTTPS = url.startsWith('https:')
    let client
    if (isHTTPS) {
Severity: Minor
Found in projects/serpent-common-cli/src/npm/test.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status