Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-sull authored and astrobot-houston committed Jul 1, 2022
1 parent 8efdc09 commit dfa5d61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/runtime/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -756,7 +756,7 @@ export async function renderPage(
},
});
} else {
body = '';
body = '';
let i = 0;
for await (const chunk of iterable) {
let html = chunk.toString();
Expand Down
2 changes: 1 addition & 1 deletion test/streaming.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ describe('Streaming disabled', () => {
},
server: {
streaming: false,
}
},
});
});

Expand Down

0 comments on commit dfa5d61

Please sign in to comment.