59naga/npm-tarball

View on GitHub

Showing 1 of 1 total issue

Function resolveUri has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function resolveUri (name, range) {
  const api = 'https://registry.npmjs.org/%s/%s'
  const uri = format(api, name, '')

  return new Promise((resolve, reject) => {
Severity: Minor
Found in src/index.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language