code formatting

This commit is contained in:
ProgrammerIn-wonderland
2025-05-20 21:04:34 -04:00
parent 7a6df9a63f
commit 0d48389c40
@@ -134,8 +134,10 @@ export function pFetch(...args) {
.decode(buffer.slice(0, idx))
.trim();
currentChunkLeft = parseInt(sizeText, 16);
if (isNaN(currentChunkLeft)) {
controller.error("Invalid chunk length from server")
if (isNaN(currentChunkLeft)) {
controller.error(
"Invalid chunk length from server",
);
}
// strip off the size line + CRLF
buffer = buffer.slice(idx + 2);