mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
[ci] format
This commit is contained in:
parent
53cb41e30e
commit
8d4eb95086
2 changed files with 3 additions and 3 deletions
|
@ -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}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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 },
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue