summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2022-03-30 19:56:27 +0000
committerGravatar GitHub Actions <actions@github.com> 2022-03-30 19:56:27 +0000
commit52d7fec2480e3c8f3f046c229364a9c91cc06821 (patch)
treeedb79005ce10e3bc71641cd4a9818735c9cfcc90
parentc989f106f914126e82b2b2b995bd49f022b3a99b (diff)
downloadastro-52d7fec2480e3c8f3f046c229364a9c91cc06821.tar.gz
astro-52d7fec2480e3c8f3f046c229364a9c91cc06821.tar.zst
astro-52d7fec2480e3c8f3f046c229364a9c91cc06821.zip
[ci] format
-rw-r--r--packages/astro/src/runtime/server/index.ts6
1 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 b9970d59d..7cf56c35f 100644
--- a/packages/astro/src/runtime/server/index.ts
+++ b/packages/astro/src/runtime/server/index.ts
@@ -442,11 +442,11 @@ export async function renderPage(
response,
};
}
- } catch(err) {
- if(err instanceof Response) {
+ } catch (err) {
+ if (err instanceof Response) {
return {
type: 'response',
- response: err
+ response: err,
};
} else {
throw err;