summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/src/core/render/route-cache.ts6
1 files changed, 4 insertions, 2 deletions
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();
}