Showing 3,299 of 8,337 total issues
Avoid too many return
statements within this function. Open
Open
return true;
Avoid too many return
statements within this function. Open
Open
return message;
Avoid too many return
statements within this function. Open
Open
return API.v1.failure({ status: 'storage_error', messages: [aff.getStorageError()] });
Avoid too many return
statements within this function. Open
Open
return API.v1.success({
app: info,
implemented: aff.getImplementedInferfaces(),
licenseValidation: aff.getLicenseValidationResult(),
});
Avoid too many return
statements within this function. Open
Open
return lastRoomAgent ?? defaultAgent;
Avoid too many return
statements within this function. Open
Open
return inquiry;
Avoid too many return
statements within this function. Open
Open
return LivechatInquiry.findOneById(_id);
Avoid too many return
statements within this function. Open
Open
return {
start: moment().startOf('month').toDate(),
end: moment().endOf('day').toDate(),
};
Avoid too many return
statements within this function. Open
Open
return {
start: moment().subtract(1, 'month').startOf('month').toDate(),
end: moment().subtract(1, 'month').endOf('month').toDate(),
};
Avoid too many return
statements within this function. Open
Open
return { ...state, end: parseFromEndDateInput(action.newEnd) };
Avoid too many return
statements within this function. Open
Open
return affectedUsers.map(({ _id }) => _id);
Avoid too many return
statements within this function. Open
Open
return state;
Avoid too many return
statements within this function. Open
Open
return currentOnHoldTime;
Avoid too many return
statements within this function. Open
Open
return newState;
Avoid too many return
statements within this function. Open
Open
return 'no-role';
Avoid too many return
statements within this function. Open
Open
return;
Avoid too many return
statements within this function. Open
Open
return record.value;
Avoid too many return
statements within this function. Open
Open
return this.ws.close(WS_ERRORS.CLOSE_PROTOCOL_ERROR);
Avoid too many return
statements within this function. Open
Open
return state;
Avoid too many return
statements within this function. Open
Open
return { ...state, start: parseFromStartDateInput(action.newStart) };