summaryrefslogtreecommitdiff
path: root/packages/integrations/mdx/src/vite-plugin-mdx.ts
diff options
context:
space:
mode:
authorGravatar Darius <19603573+itsMapleLeaf@users.noreply.github.com> 2024-08-08 05:12:50 -0500
committerGravatar GitHub <noreply@github.com> 2024-08-08 12:12:50 +0200
commit72c7ae9901de927ae8d9d5be63cbaef4f976422c (patch)
tree6e41a6b07ad8830375ba7b0e4d924fd9449dc7ef /packages/integrations/mdx/src/vite-plugin-mdx.ts
parent85de47cd982fd13c6286bcc0be384a220996ccbd (diff)
downloadastro-72c7ae9901de927ae8d9d5be63cbaef4f976422c.tar.gz
astro-72c7ae9901de927ae8d9d5be63cbaef4f976422c.tar.zst
astro-72c7ae9901de927ae8d9d5be63cbaef4f976422c.zip
update formatter config (#11640)
* update formatter config * format --------- Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Diffstat (limited to 'packages/integrations/mdx/src/vite-plugin-mdx.ts')
-rw-r--r--packages/integrations/mdx/src/vite-plugin-mdx.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/integrations/mdx/src/vite-plugin-mdx.ts b/packages/integrations/mdx/src/vite-plugin-mdx.ts
index 1b966ecd2..b232d1c83 100644
--- a/packages/integrations/mdx/src/vite-plugin-mdx.ts
+++ b/packages/integrations/mdx/src/vite-plugin-mdx.ts
@@ -54,7 +54,7 @@ export function vitePluginMdx(mdxOptions: MdxOptions): Plugin {
// should be called in between those two lifecycle, so this error should never happen
if (!processor) {
return this.error(
- 'MDX processor is not initialized. This is an internal error. Please file an issue.'
+ 'MDX processor is not initialized. This is an internal error. Please file an issue.',
);
}
@@ -86,7 +86,7 @@ function getMdxMeta(vfile: VFile): Record<string, any> {
const astroMetadata = getAstroMetadata(vfile);
if (!astroMetadata) {
throw new Error(
- 'Internal MDX error: Astro metadata is not set by rehype-analyze-astro-metadata'
+ 'Internal MDX error: Astro metadata is not set by rehype-analyze-astro-metadata',
);
}
return {