mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
[ci] format
This commit is contained in:
parent
53cb41e30e
commit
8d4eb95086
2 changed files with 3 additions and 3 deletions
|
@ -84,7 +84,7 @@ export function astroContentVirtualModPlugin({
|
||||||
const fileName = params.get('fileName');
|
const fileName = params.get('fileName');
|
||||||
let importPath = undefined;
|
let importPath = undefined;
|
||||||
if (fileName && URL.canParse(fileName, settings.config.root.toString())) {
|
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) {
|
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()],
|
integrations: [mdx()],
|
||||||
// test suite was authored when inlineStylesheets defaulted to never
|
// test suite was authored when inlineStylesheets defaulted to never
|
||||||
build: { inlineStylesheets: 'never' },
|
build: { inlineStylesheets: 'never' },
|
||||||
experimental: { contentLayer: true }
|
experimental: { contentLayer: true },
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue