diff --git a/.changeset/many-mayflies-punch.md b/.changeset/many-mayflies-punch.md new file mode 100644 index 000000000..6e33df252 --- /dev/null +++ b/.changeset/many-mayflies-punch.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Removed extra curly brace. diff --git a/packages/astro/src/core/build/generate.ts b/packages/astro/src/core/build/generate.ts index 111b8ef05..b6bda6271 100644 --- a/packages/astro/src/core/build/generate.ts +++ b/packages/astro/src/core/build/generate.ts @@ -246,7 +246,7 @@ async function generateImage( const counter = `(${count}/${totalCount})`; logger.info( null, - ` ${green('▶')} ${path} ${dim(statsText)} ${dim(timeIncrease)} ${dim(counter)}}` + ` ${green('▶')} ${path} ${dim(statsText)} ${dim(timeIncrease)} ${dim(counter)}` ); } @@ -411,10 +411,10 @@ function getInvalidRouteSegmentError( ...AstroErrorData.InvalidDynamicRoute, message: invalidParam ? AstroErrorData.InvalidDynamicRoute.message( - route.route, - JSON.stringify(invalidParam), - JSON.stringify(received) - ) + route.route, + JSON.stringify(invalidParam), + JSON.stringify(received) + ) : `Generated path for ${route.route} is invalid.`, hint, });