summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Matt Kane <ascorbic@users.noreply.github.com> 2024-09-18 14:16:40 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2024-09-18 14:16:40 +0000
commit8d4eb95086ae79339764d02215f84f4f21b96edc (patch)
tree099080c020d68deb9607fe762a3d2aee50e0b9c5
parent53cb41e30ea5768bf33d9f6be608fb57d31b7b9e (diff)
downloadastro-8d4eb95086ae79339764d02215f84f4f21b96edc.tar.gz
astro-8d4eb95086ae79339764d02215f84f4f21b96edc.tar.zst
astro-8d4eb95086ae79339764d02215f84f4f21b96edc.zip
[ci] format
-rw-r--r--packages/astro/src/content/vite-plugin-content-virtual-mod.ts4
-rw-r--r--packages/integrations/mdx/test/css-head-mdx.test.js2
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 d1a24004e..c370976a7 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 6e31d972d..4d4df5cec 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 },
});
});