Skip to content

Commit

Permalink
fix: remove double } (#8370)
Browse files Browse the repository at this point in the history
* fix: remove extra `}`

* changeset: add
  • Loading branch information
itsmatteomanf authored Sep 2, 2023
1 parent e34175b commit 06e7256
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/many-mayflies-punch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Removed extra curly brace.
10 changes: 5 additions & 5 deletions packages/astro/src/core/build/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)}`
);
}

Expand Down Expand Up @@ -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,
});
Expand Down

0 comments on commit 06e7256

Please sign in to comment.