Showing 2 of 2 total issues
Function parse
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.parse = function(json, profileFields) {
if ('string' === typeof json) {
json = JSON.parse(json);
}
Function userProfile
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Strategy.prototype.userProfile = function(accessToken, done) {
var fields = this._profileFields;
this._oauth2.get(this._profileURL, accessToken, function (err, body) {
var json;