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; }