gerard2p/koaton-cli

View on GitHub
src/functions/get.js

Summary

Maintainability
A
1 hr
Test Coverage

Function GET has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function GET (hostname) {
    return new Promise(function (resolve, reject) {
        let [protocol, host] = hostname.split('//');
        let url = host.split('/');
        host = url[0];
Severity: Minor
Found in src/functions/get.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status