From 9836dddf82e002e505e961acd4f8275d40eeaedc Mon Sep 17 00:00:00 2001 From: Arsh Date: Wed, 7 Feb 2024 16:10:36 +0000 Subject: [PATCH] [ci] format --- packages/integrations/vercel/src/serverless/entrypoint.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/integrations/vercel/src/serverless/entrypoint.ts b/packages/integrations/vercel/src/serverless/entrypoint.ts index 5dfba76976..661e75f1cf 100644 --- a/packages/integrations/vercel/src/serverless/entrypoint.ts +++ b/packages/integrations/vercel/src/serverless/entrypoint.ts @@ -32,9 +32,8 @@ export const createExports = ( res.end('Forbidden'); return; } - locals = typeof localsHeader === 'string' - ? JSON.parse(localsHeader) - : JSON.parse(localsHeader[0]); + locals = + typeof localsHeader === 'string' ? JSON.parse(localsHeader) : JSON.parse(localsHeader[0]); } // hide the secret from the rest of user code delete req.headers[ASTRO_MIDDLEWARE_SECRET_HEADER];