From 8d4eb95086ae79339764d02215f84f4f21b96edc Mon Sep 17 00:00:00 2001 From: Matt Kane Date: Wed, 18 Sep 2024 14:16:40 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/content/vite-plugin-content-virtual-mod.ts | 4 ++-- packages/integrations/mdx/test/css-head-mdx.test.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/astro/src/content/vite-plugin-content-virtual-mod.ts b/packages/astro/src/content/vite-plugin-content-virtual-mod.ts index d1a24004e4dd..c370976a7ecb 100644 --- a/packages/astro/src/content/vite-plugin-content-virtual-mod.ts +++ b/packages/astro/src/content/vite-plugin-content-virtual-mod.ts @@ -84,10 +84,10 @@ export function astroContentVirtualModPlugin({ const fileName = params.get('fileName'); let importPath = undefined; if (fileName && URL.canParse(fileName, settings.config.root.toString())) { - importPath = fileURLToPath(new URL(fileName, settings.config.root)) + importPath = fileURLToPath(new URL(fileName, settings.config.root)); } if (importPath) { - return await this.resolve(`${importPath}?${CONTENT_RENDER_FLAG}`); + return await this.resolve(`${importPath}?${CONTENT_RENDER_FLAG}`); } } diff --git a/packages/integrations/mdx/test/css-head-mdx.test.js b/packages/integrations/mdx/test/css-head-mdx.test.js index 6e31d972d2de..4d4df5cec402 100644 --- a/packages/integrations/mdx/test/css-head-mdx.test.js +++ b/packages/integrations/mdx/test/css-head-mdx.test.js @@ -15,7 +15,7 @@ describe('Head injection w/ MDX', () => { integrations: [mdx()], // test suite was authored when inlineStylesheets defaulted to never build: { inlineStylesheets: 'never' }, - experimental: { contentLayer: true } + experimental: { contentLayer: true }, }); });