Skip to content

Commit

Permalink
chore: fix SonarQube complain
Browse files Browse the repository at this point in the history
  • Loading branch information
Platonn committed Oct 3, 2024
1 parent 28e020c commit 6b19580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/ssr-tests/src/utils/proxy.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export async function startBackendProxyServer(
if (options.responseInterceptor) {
proxy.on('proxyRes', (proxyRes, req, res) => {
// We have to buffer the response body before passing it to the interceptor
let bodyBuffer: Buffer[] = [];
const bodyBuffer: Buffer[] = [];
proxyRes.on('data', (chunk) => {
bodyBuffer.push(chunk);
});
Expand Down

0 comments on commit 6b19580

Please sign in to comment.