0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00

fix: error message grammar (#10973)

This commit is contained in:
Emanuele Stoppa 2024-05-08 13:38:34 +01:00 committed by GitHub
parent 8ef2f62c53
commit 8422600921
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1492,7 +1492,7 @@ export const UnsupportedConfigTransformError = {
export const RouteNotFound = { export const RouteNotFound = {
name: 'RouteNotFound', name: 'RouteNotFound',
title: 'Route not found.', title: 'Route not found.',
message: `Astro could find a route that matches the one you requested.`, message: `Astro could not find a route that matches the one you requested.`,
} satisfies ErrorData; } satisfies ErrorData;
// Generic catch-all - Only use this in extreme cases, like if there was a cosmic ray bit flip. // Generic catch-all - Only use this in extreme cases, like if there was a cosmic ray bit flip.