Showing 1,292 of 3,313 total issues
Avoid too many return
statements within this function. Open
Open
return !!redundancy
Avoid too many return
statements within this function. Open
Open
if (!file) return false
Avoid too many return
statements within this function. Open
Open
if (audioCodecName === 'mp3') return 'mp4a.40.34'
Avoid too many return
statements within this function. Open
Open
return parseInt(match[1], 10) * 1024 * 1024 * 1024 * 1024 +
parseInt(match[2], 10) * 1024 * 1024
Avoid too many return
statements within this function. Open
Open
return VideoPlaylistElementType.REGULAR
Avoid too many return
statements within this function. Open
Open
return modelName + 'Model'
Avoid too many return
statements within this function. Open
Open
return `${videoCodec}.${baseProfile}${level}`
Avoid too many return
statements within this function. Open
Open
return parseInt(match[1], 10) * 1024 * 1024 * 1024 +
parseInt(match[2], 10) * 1024 * 1024
Avoid too many return
statements within this function. Open
Open
return imageBytes <= 15 * kB
Avoid too many return
statements within this function. Open
Open
return checkMimetypeRegex(file.mimetype, mimeTypeRegex)
Avoid too many return
statements within this function. Open
Open
if (!setValidStoryboard(video)) return fail('preview (storyboard)')
Avoid too many return
statements within this function. Open
Open
if (!isActivityPubVideoDurationValid(video.duration)) return fail('duration format')
Avoid too many return
statements within this function. Open
Open
if (!isUUIDValid(video.uuid)) return fail('uuid')
Avoid too many return
statements within this function. Open
Open
return next()
Avoid too many return
statements within this function. Open
Open
if (newSize.height >= 500) return imageBytes <= 100 * kB
Avoid too many return
statements within this function. Open
Open
return null
Avoid too many return
statements within this function. Open
Open
if (!start || !end) return true
Avoid too many return
statements within this function. Open
Open
if (video.attributedTo.length === 0) return fail('attributedTo')
Avoid too many return
statements within this function. Open
Open
if (!isActivityPubUrlValid(video.id)) return fail('id')
Avoid too many return
statements within this function. Open
Open
return cb(err)