mirror of
https://github.com/withastro/astro.git
synced 2025-02-17 22:44:24 -05:00
chore: remove duplicate astro:db log (#10441)
* chore: remove duplicate astro:db log * chore: changeset
This commit is contained in:
parent
7d8565db33
commit
5166e9715a
2 changed files with 6 additions and 1 deletions
5
.changeset/eleven-lobsters-doubt.md
Normal file
5
.changeset/eleven-lobsters-doubt.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@astrojs/db": patch
|
||||
---
|
||||
|
||||
Remove duplicate astro:db log during type generation
|
|
@ -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`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue