mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
[ci] format
This commit is contained in:
parent
66fc0283d3
commit
28ee6e7f85
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue