0
Fork 0
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:
Ben Holmes 2024-03-14 14:39:53 -04:00 committed by GitHub
parent 7d8565db33
commit 5166e9715a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
"@astrojs/db": patch
---
Remove duplicate astro:db log during type generation

View file

@ -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`);
}
}
}