From be26e36e1199006c4dd35aa889ba43a00f1518e8 Mon Sep 17 00:00:00 2001 From: matthewp Date: Thu, 8 Dec 2022 13:14:30 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/core/errors/dev/utils.ts | 5 ++++- packages/astro/test/ssr-params.test.js | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/astro/src/core/errors/dev/utils.ts b/packages/astro/src/core/errors/dev/utils.ts index 6bcdaba6eb57..7ee90115c5a6 100644 --- a/packages/astro/src/core/errors/dev/utils.ts +++ b/packages/astro/src/core/errors/dev/utils.ts @@ -20,7 +20,10 @@ export const incompatPackageExp = new RegExp(`(${Object.keys(incompatiblePackage * Useful for consistent reporting regardless of where the error surfaced from. */ export function collectErrorMetadata(e: any, rootFolder?: URL | undefined): ErrorWithMetadata { - const err = AggregateError.is(e) || Array.isArray((e as any).errors) ? (e.errors as SSRError[]) : [e as SSRError]; + const err = + AggregateError.is(e) || Array.isArray((e as any).errors) + ? (e.errors as SSRError[]) + : [e as SSRError]; err.forEach((error) => { if (error.stack) { diff --git a/packages/astro/test/ssr-params.test.js b/packages/astro/test/ssr-params.test.js index 93e5f956ba29..37155425ebc5 100644 --- a/packages/astro/test/ssr-params.test.js +++ b/packages/astro/test/ssr-params.test.js @@ -26,5 +26,4 @@ describe('Astro.params in SSR', () => { const $ = cheerio.load(html); expect($('.category').text()).to.equal('food'); }); - });