Showing 3,313 of 3,313 total issues
Avoid too many return
statements within this function. Open
Open
return next()
Avoid too many return
statements within this function. Open
Open
return next()
Avoid too many return
statements within this function. Open
Open
return this.abortSession(sessionId)
Avoid too many return
statements within this function. Open
Open
return true
Avoid too many return
statements within this function. Open
Open
return next()
Avoid too many return
statements within this function. Open
Open
return next()
Avoid too many return
statements within this function. Open
Open
if (!checkVideoFileCanBeEdited(video, res)) return cleanUpReqFiles(req)
Avoid too many return
statements within this function. Open
Open
return res.fail({
status: HttpStatusCode.CONFLICT_409,
type: ServerErrorCode.VIDEO_ALREADY_BEING_TRANSCODED,
message: 'This video is already being transcoded'
})
Avoid too many return
statements within this function. Open
Open
return on404OrTombstone()
Avoid too many return
statements within this function. Open
Open
return false
Avoid too many return
statements within this function. Open
Open
return next()
Avoid too many return
statements within this function. Open
Open
return next()
Avoid too many return
statements within this function. Open
Open
if (!await isVideoCommentAccepted(req, res, res.locals.videoAll, false)) return
Avoid too many return
statements within this function. Open
Open
if (!await doesVideoCommentExist(req.params.commentId, res.locals.videoAll, res)) return
Avoid too many return
statements within this function. Open
Open
return next()
Avoid too many return
statements within this function. Open
Open
if (result.videoQuotaDaily && !isUserVideoQuotaDailyValid(result.videoQuotaDaily + '')) return returnError('videoQuotaDaily')
Avoid too many return
statements within this function. Open
Open
return true
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
return retryTransactionWrapper(processUndoAnnounce, byActor, activityToUndo)
Avoid too many return
statements within this function. Open
Open
return retryTransactionWrapper(processCreatePlaylist, activity, activityObject, byActor)