Showing 536 of 552 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 str;
Avoid too many return
statements within this function. Open
Open
return e.preventDefault();
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(new Error('[[error:invalid-login-credentials]]'));
Avoid too many return
statements within this function. Open
Open
return helpers.redirect(res, 'admin/manage/tags');
Avoid too many return
statements within this function. Open
Open
return 'hash';
Avoid too many return
statements within this function. Open
Open
return helpers.redirect(res, 'admin/manage/admins-mods');
Avoid too many return
statements within this function. Open
Open
return helpers.redirect(res, validator.unescape(categoryFields.link));
Avoid too many return
statements within this function. Open
Open
return { flag: false, message: '[[error:post-deleted]]' };
Avoid too many return
statements within this function. Open
Open
return helpers.redirect(res, `/category/${categoryData.slug}/${categoryData.topic_count}?${qs.stringify(req.query)}`);
Avoid too many return
statements within this function. Open
Open
return { flag: result.edit && (result.owner || result.isMod), message: '[[error:no-privileges]]' };
Avoid too many return
statements within this function. Open
Open
return helpers.redirect(res, `/topic/${tid}/${req.params.slug}${postIndex > topicData.postcount ? `/${topicData.postcount}` : ''}${generateQueryString(req.query)}`);
Avoid too many return
statements within this function. Open
Open
return helpers.notAllowed(req, res);
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 res.rows[0].e;
Avoid too many return
statements within this function. Open
Open
return next(new Error('[[error:local-login-disabled]]'));
Avoid too many return
statements within this function. Open
Open
return helpers.redirect(res, 'admin/settings/general');