From d03160af530d3bbb936f89b636a1a19e6412bcf0 Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Wed, 5 Jun 2024 12:10:54 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/core/errors/errors-data.ts | 8 ++++++-- 1 file 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 1528d253fe5f..ead98388fa37 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; /**