0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-20 22:12:38 -05:00

[ci] format

This commit is contained in:
Matthew Phillips 2024-06-10 17:39:18 +00:00 committed by astrobot-houston
parent 66fc0283d3
commit 28ee6e7f85

View file

@ -240,7 +240,7 @@ export async function renderToAsyncIterable(
await next.promise;
}
// Buffer is empty so there's nothing to receive, wait for the next resolve.
else if(!renderingComplete && !buffer.length) {
else if (!renderingComplete && !buffer.length) {
next = promiseWithResolvers();
await next.promise;
}
@ -311,7 +311,7 @@ export async function renderToAsyncIterable(
// will run.
buffer.push(bytes);
next?.resolve();
} else if(buffer.length > 0) {
} else if (buffer.length > 0) {
next?.resolve();
}
},