0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00

[ci] format

This commit is contained in:
Matt Kane 2024-09-18 14:16:40 +00:00 committed by astrobot-houston
parent 53cb41e30e
commit 8d4eb95086
2 changed files with 3 additions and 3 deletions

View file

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

View file

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