diff --git a/packages/astro/src/core/render/route-cache.ts b/packages/astro/src/core/render/route-cache.ts index 3deed88bd..a5b97499e 100644 --- a/packages/astro/src/core/render/route-cache.ts +++ b/packages/astro/src/core/render/route-cache.ts @@ -38,8 +38,10 @@ export async function callGetStaticPaths({ await mod.getStaticPaths({ paginate: generatePaginateFunction(route), rss() { - throw new Error('The RSS helper has been removed from getStaticPaths! Try the new @astrojs/rss package instead. See https://docs.astro.build/en/guides/rss/') - } + throw new Error( + 'The RSS helper has been removed from getStaticPaths! Try the new @astrojs/rss package instead. See https://docs.astro.build/en/guides/rss/' + ); + }, }) ).flat(); }