Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp authored and astrobot-houston committed Jun 10, 2024
1 parent 66fc028 commit 28ee6e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/astro/src/runtime/server/render/astro/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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();
}
},
Expand Down

0 comments on commit 28ee6e7

Please sign in to comment.