Skip to content

Commit

Permalink
chore: remove duplicate astro:db log (#10441)
Browse files Browse the repository at this point in the history
* chore: remove duplicate astro:db log

* chore: changeset
  • Loading branch information
bholmesdev authored Mar 14, 2024
1 parent 7d8565d commit 5166e97
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/eleven-lobsters-doubt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@astrojs/db": patch
---

Remove duplicate astro:db log during type generation
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export async function setUpEnvTs({
if (!typesEnvContents.includes(dbTypeReference)) {
typesEnvContents = `${dbTypeReference}\n${typesEnvContents}`;
await writeFile(envTsPath, typesEnvContents, 'utf-8');
logger.info(`${cyan(bold('[astro:db]'))} Added ${bold(envTsPathRelativetoRoot)} types`);
logger.info(`Added ${bold(envTsPathRelativetoRoot)} types`);
}
}
}
Expand Down

0 comments on commit 5166e97

Please sign in to comment.