Showing 726 of 2,177 total issues
Avoid too many return
statements within this function. Open
Open
return getAvatar(req, res);
Avoid too many return
statements within this function. Open
Open
return next();
Avoid too many return
statements within this function. Open
Open
if (typeof directiveAttribute.name !== 'string') { return false; }
Avoid too many return
statements within this function. Open
Open
return callback(null, true);
Avoid too many return
statements within this function. Open
Open
if (typeof value.display.text !== 'string') { return false; }
Avoid too many return
statements within this function. Open
Open
return true;
Avoid too many return
statements within this function. Open
Open
if (typeof value.url !== 'string') { return false; }
Avoid too many return
statements within this function. Open
Open
if (typeof directiveAttribute.value !== 'string') { return false; }
Avoid too many return
statements within this function. Open
Open
return callback(new Error('Invalid workflow, must be in ' + _.keys(WORKFLOW_NOTIFICATIONS_TOPIC)));
Avoid too many return
statements within this function. Open
Open
if (!directiveAttribute.value) { return false; }
Avoid too many return
statements within this function. Open
Open
return true;
Avoid too many return
statements within this function. Open
Open
return result;
Avoid too many return
statements within this function. Open
Open
if (!validateTuple(value.source)) { return false; }
Avoid too many return
statements within this function. Open
Open
if (typeof value.key !== 'string') { return false; }
Avoid too many return
statements within this function. Open
Open
return true;
Avoid too many return
statements within this function. Open
Open
if (!directiveAttribute.name) { return false; }
Avoid too many return
statements within this function. Open
Open
if (injectionValue.attributes && !(injectionValue.attributes instanceof Array)) { return false; }
Avoid too many return
statements within this function. Open
Open
return memberModule.isIndirectMember(collaboration, tuple, callback);
Avoid too many return
statements within this function. Open
Open
return callback(new Error('Only Restricted and Private collaborations allow membership requests.'));
Avoid too many return
statements within this function. Open
Open
if (typeof value.display.label !== 'string') { return false; }