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})`;
|
const counter = `(${count}/${totalCount})`;
|
||||||
logger.info(
|
logger.info(
|
||||||
null,
|
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,
|
...AstroErrorData.InvalidDynamicRoute,
|
||||||
message: invalidParam
|
message: invalidParam
|
||||||
? AstroErrorData.InvalidDynamicRoute.message(
|
? AstroErrorData.InvalidDynamicRoute.message(
|
||||||
route.route,
|
route.route,
|
||||||
JSON.stringify(invalidParam),
|
JSON.stringify(invalidParam),
|
||||||
JSON.stringify(received)
|
JSON.stringify(received)
|
||||||
)
|
)
|
||||||
: `Generated path for ${route.route} is invalid.`,
|
: `Generated path for ${route.route} is invalid.`,
|
||||||
hint,
|
hint,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue