apps/meteor/app/google-oauth/server/index.js
Function _endOfLoginResponse
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
OAuth._endOfLoginResponse = (res, details) => {
res.writeHead(200, { 'Content-Type': 'text/html' });
let redirectUrl;
if (details.loginStyle === 'redirect') {
Function renderEndOfLoginResponse
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const renderEndOfLoginResponse = (options) => {
const escape = (s) => {
if (!s) {
return s;
}