[ci] format

This commit is contained in:
tony-sull 2022-07-01 02:32:07 +00:00 committed by fredkbot
parent 976e1f175a
commit a2b385303c
2 changed files with 3 additions and 3 deletions

View file

@ -705,7 +705,7 @@ export async function renderPage(
componentFactory: AstroComponentFactory, componentFactory: AstroComponentFactory,
props: any, props: any,
children: any, children: any,
streaming: boolean, streaming: boolean
): Promise<Response> { ): Promise<Response> {
let iterable: AsyncIterable<any>; let iterable: AsyncIterable<any>;
if (!componentFactory.isAstroComponentFactory) { if (!componentFactory.isAstroComponentFactory) {
@ -756,7 +756,7 @@ export async function renderPage(
}, },
}); });
} else { } else {
body = ''; body = '';
let i = 0; let i = 0;
for await (const chunk of iterable) { for await (const chunk of iterable) {
let html = chunk.toString(); let html = chunk.toString();

View file

@ -87,7 +87,7 @@ describe('Streaming disabled', () => {
}, },
server: { server: {
streaming: false, streaming: false,
} },
}); });
}); });