Showing 1,287 of 4,903 total issues
Avoid too many return
statements within this method. Open
Open
return @account if @account&.local? || gone_from_origin? || !webfinger_update_due?
Avoid too many return
statements within this method. Open
Open
return nil if discoveries > DISCOVERIES_PER_REQUEST
Avoid too many return
statements within this method. Open
Open
return if actor.nil? || actor.suspended?
Avoid too many return
statements within this method. Open
Open
return :filter if check_for_blocks.any? { |target_account_id| crutches[:blocking][target_account_id] || crutches[:muting][target_account_id] }
Avoid too many return
statements within this method. Open
Open
return :filter if crutches[:blocked_by][status.account_id]
Avoid too many return
statements within this function. Open
Open
return state.setIn(
[action.payload.id, action.payload.locked ? 'requested' : 'following'],
false,
);
Avoid too many return
statements within this function. Open
Open
return [sourceNumber, DECIMAL_UNITS.ONE, 0];
Avoid too many return
statements within this function. Open
Open
else return state;
Avoid too many return
statements within this function. Open
Open
return state.setIn([action.payload.id, 'following'], false);
Avoid too many return
statements within this function. Open
Open
return normalizeRelationship(state, action.payload.relationship);
Avoid too many return
statements within this function. Open
Open
else return state;
Avoid too many return
statements within this function. Open
Open
return normalizeRelationships(state, action.payload.relationships);
Avoid too many return
statements within this function. Open
Open
else return state;
Avoid too many return
statements within this function. Open
Open
return setDomainBlocking(state, action.payload.accounts, false);
Avoid too many return
statements within this function. Open
Open
return setDomainBlocking(state, action.payload.accounts, true);
Avoid too many return
statements within this function. Open
Open
return state.setIn([action.payload.id, 'following'], true);
Avoid too many return
statements within this function. Open
Open
return [sourceNumber, DECIMAL_UNITS.ONE, 0];
Avoid too many return
statements within this function. Open
Open
return state.setIn(
[action.payload.id, action.payload.locked ? 'requested' : 'following'],
false,
);
Avoid too many return
statements within this function. Open
Open
return normalizeRelationships(state, action.payload.relationships);
Avoid too many return
statements within this function. Open
Open
return setDomainBlocking(state, action.payload.accounts, true);