parent
e34175be34
commit
06e7256b58
2 changed files with 10 additions and 5 deletions
5
.changeset/many-mayflies-punch.md
Normal file
5
.changeset/many-mayflies-punch.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Removed extra curly brace.
|
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue