jaredhanson/passport-foursquare

View on GitHub

Showing 1 of 1 total issue

Function userProfile has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

Strategy.prototype.userProfile = function(accessToken, done) {
  var url = this._userProfileURL;
  if (this._apiVersion) {
    url += '?v=' + this._apiVersion;
  }
Severity: Minor
Found in lib/strategy.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language