superset-frontend/webpack.proxy-config.js
Function toDevHTML
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function toDevHTML(originalHtml) {
let html = originalHtml.replace(
/(<head>\s*<title>)([\s\S]*)(<\/title>)/i,
'$1[DEV] $2 $3',
);
Function processHTML
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function processHTML(proxyResponse, response) {
let body = Buffer.from([]);
let originalResponse = proxyResponse;
let uncompress;
const responseEncoding = originalResponse.headers['content-encoding'];