tunnckoCore/randomorg-js

View on GitHub

Showing 1 of 1 total issue

Function RandomOrg has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function RandomOrg (id) {
  const request = (identifier) => (method, params, callback) => {
    /* istanbul ignore next */
    const postRequest = req.concat ? req.concat : req
    const _id = identifier || id || (0 | Math.random() * 1000)
Severity: Minor
Found in src/index.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language