Skip to content

Commit

Permalink
chore: it's trivial my dear watson
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev committed Jun 8, 2023
1 parent 2f0d9c4 commit f0f4e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/core/build/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ function getInvalidRouteSegmentError(
): AstroError {
const invalidParam = e.message.match(/^Expected "([^"]+)"/)?.[1];
const received = invalidParam ? staticPath.params[invalidParam] : undefined;
let hint: string =
let hint =
'Learn about dynamic routes at https://docs.astro.build/en/core-concepts/routing/#dynamic-routes';
if (invalidParam && typeof received === 'string') {
const matchingSegment = route.segments.find(
Expand Down

0 comments on commit f0f4e02

Please sign in to comment.