tunnckoCore/github-clone-labels

View on GitHub

Showing 1 of 1 total issue

Function githubCloneLabels has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function githubCloneLabels (opts, cb) {
  assert.strictEqual(opts && typeof opts, 'object', 'expect `src` to be a object')
  assert.strictEqual(typeof cb, 'function', 'expect `cb` to be a function')

  var api = 'https://api.github.com/repos'
Severity: Minor
Found in index.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language