diff options
author | 2022-07-01 02:32:07 +0000 | |
---|---|---|
committer | 2022-07-01 02:32:07 +0000 | |
commit | a2b385303c96969459c75d1197ceedb8608b44b6 (patch) | |
tree | 711fad002105970517092c88f60d2c1b50c26f94 | |
parent | 976e1f175a95ea39f737b8575e4fdf3c3d89e1ee (diff) | |
download | astro-a2b385303c96969459c75d1197ceedb8608b44b6.tar.gz astro-a2b385303c96969459c75d1197ceedb8608b44b6.tar.zst astro-a2b385303c96969459c75d1197ceedb8608b44b6.zip |
[ci] format
-rw-r--r-- | packages/astro/src/runtime/server/index.ts | 4 | ||||
-rw-r--r-- | packages/astro/test/streaming.test.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/astro/src/runtime/server/index.ts b/packages/astro/src/runtime/server/index.ts index 55cc23101..99f7bf27b 100644 --- a/packages/astro/src/runtime/server/index.ts +++ b/packages/astro/src/runtime/server/index.ts @@ -705,7 +705,7 @@ export async function renderPage( componentFactory: AstroComponentFactory, props: any, children: any, - streaming: boolean, + streaming: boolean ): Promise<Response> { let iterable: AsyncIterable<any>; if (!componentFactory.isAstroComponentFactory) { @@ -756,7 +756,7 @@ export async function renderPage( }, }); } else { - body = ''; + body = ''; let i = 0; for await (const chunk of iterable) { let html = chunk.toString(); diff --git a/packages/astro/test/streaming.test.js b/packages/astro/test/streaming.test.js index 266853787..fc7afba05 100644 --- a/packages/astro/test/streaming.test.js +++ b/packages/astro/test/streaming.test.js @@ -87,7 +87,7 @@ describe('Streaming disabled', () => { }, server: { streaming: false, - } + }, }); }); |