summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Emanuele Stoppa <ematipico@users.noreply.github.com> 2024-06-05 12:10:54 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2024-06-05 12:10:54 +0000
commitd03160af530d3bbb936f89b636a1a19e6412bcf0 (patch)
tree8119f21aa6464de5f173dc1c2618ad2e5a3f55dc
parent35ef53c0897c0d360efc086a71c5f4406721d2fe (diff)
downloadastro-d03160af530d3bbb936f89b636a1a19e6412bcf0.tar.gz
astro-d03160af530d3bbb936f89b636a1a19e6412bcf0.tar.zst
astro-d03160af530d3bbb936f89b636a1a19e6412bcf0.zip
[ci] format
-rw-r--r--packages/astro/src/core/errors/errors-data.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/astro/src/core/errors/errors-data.ts b/packages/astro/src/core/errors/errors-data.ts
index 1528d253f..ead98388f 100644
--- a/packages/astro/src/core/errors/errors-data.ts
+++ b/packages/astro/src/core/errors/errors-data.ts
@@ -1124,8 +1124,12 @@ export const MissingMiddlewareForInternationalization = {
*/
export const RewriteEncounteredAnError = {
name: 'RewriteEncounteredAnError',
- title: "Astro couldn't find the route to rewrite, or if was found but it emitted an error during the rendering phase.",
- message: (route: string, stack?: string) => `The route ${route} that you tried to render doesn't exist, or it emitted an error during the rendering phase. ${stack ? stack : ""}.`
+ title:
+ "Astro couldn't find the route to rewrite, or if was found but it emitted an error during the rendering phase.",
+ message: (route: string, stack?: string) =>
+ `The route ${route} that you tried to render doesn't exist, or it emitted an error during the rendering phase. ${
+ stack ? stack : ''
+ }.`,
} satisfies ErrorData;
/**