diff --git a/.changeset/eleven-lobsters-doubt.md b/.changeset/eleven-lobsters-doubt.md new file mode 100644 index 000000000000..e1efade5227c --- /dev/null +++ b/.changeset/eleven-lobsters-doubt.md @@ -0,0 +1,5 @@ +--- +"@astrojs/db": patch +--- + +Remove duplicate astro:db log during type generation diff --git a/packages/db/src/core/integration/vite-plugin-inject-env-ts.ts b/packages/db/src/core/integration/vite-plugin-inject-env-ts.ts index 1202e72d623c..c205e29b67da 100644 --- a/packages/db/src/core/integration/vite-plugin-inject-env-ts.ts +++ b/packages/db/src/core/integration/vite-plugin-inject-env-ts.ts @@ -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`); } } }