From f9fdf984f1a7434acd145561dda7de760a458507 Mon Sep 17 00:00:00 2001 From: natemoo-re Date: Thu, 16 Feb 2023 21:34:56 +0000 Subject: [PATCH] [ci] format --- packages/astro-rss/src/index.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/astro-rss/src/index.ts b/packages/astro-rss/src/index.ts index 35c14f5d5..90c30eb0f 100644 --- a/packages/astro-rss/src/index.ts +++ b/packages/astro-rss/src/index.ts @@ -93,13 +93,13 @@ async function validateRssOptions(rssOptions: RSSOptions) { return parsedResult.data; } const formattedError = new Error( - [ - `[RSS] Invalid or missing options:`, - ...parsedResult.error.errors.map( - zodError => `${zodError.message} (${zodError.path.join('.')})` - ), - ].join('\n') - ) + [ + `[RSS] Invalid or missing options:`, + ...parsedResult.error.errors.map( + (zodError) => `${zodError.message} (${zodError.path.join('.')})` + ), + ].join('\n') + ); throw formattedError; }