Showing 3,313 of 3,313 total issues
Avoid too many return
statements within this function. Open
Open
if (!o.live) return undefined
Avoid too many return
statements within this function. Open
Open
return pick(o, [
'name',
'duration',
'channel',
'privacy',
Avoid too many return
statements within this function. Open
Open
return null
Avoid too many return
statements within this function. Open
Open
return Promise.resolve(undefined)
Avoid too many return
statements within this function. Open
Open
if (diffSeconds >= 15 * aDay) return '1 day'
Avoid too many return
statements within this function. Open
Open
return '1 minute'
Avoid too many return
statements within this function. Open
Open
return AccountAutomaticTagPolicyModel.hasPolicyOnTags({
accountId: video.VideoChannel.accountId,
policy: AutomaticTagPolicy.REVIEW_COMMENT,
tags: ownerAccountTags,
transaction
Avoid too many return
statements within this function. Open
Open
if (o.isLive !== true && !o.archiveFiles?.videoFile) return undefined
Avoid too many return
statements within this function. Open
Open
if (diffSeconds >= 15 * anHour) return '1 hour'
Avoid too many return
statements within this function. Open
Open
if (o.passwords.some(p => !isPasswordValid(p))) return undefined
Avoid too many return
statements within this function. Open
Open
return undefined
Avoid too many return
statements within this function. Open
Open
return undefined
Avoid too many return
statements within this function. Open
Open
if (!isArray(o.passwords)) return undefined
Avoid too many return
statements within this function. Open
Open
if (diffSeconds >= 180 * aMinute) return '10 minutes'
Avoid too many return
statements within this function. Open
Open
if (o.live.saveReplay && !isVideoReplayPrivacyValid(o.live.replaySettings.privacy)) return undefined
Avoid too many return
statements within this function. Open
Open
return pick(o, [ 'type', 'displayName', 'privacy', 'elements', 'channel', 'description', 'archiveFiles' ])
Avoid too many return
statements within this function. Open
Open
if (!isBooleanValid(o.live.permanentLive)) return undefined
Avoid too many return
statements within this function. Open
Open
return { input: stream, isTmpDestination: false }
Avoid too many return
statements within this function. Open
Open
if (diffSeconds >= 8 * aDay) return '12 hours'
Avoid too many return
statements within this function. Open
Open
if (diffSeconds >= 4 * aDay) return '6 hours'