[ci] format
This commit is contained in:
parent
69fbf95b22
commit
7fc700e30d
1 changed files with 7 additions and 7 deletions
|
@ -56,7 +56,7 @@ export default function configHeadVitePlugin(): vite.Plugin {
|
||||||
// A module with propagation might be loaded before one of its parent pages
|
// A module with propagation might be loaded before one of its parent pages
|
||||||
// is loaded, in which case that parent page won't have the in-tree and containsHead
|
// is loaded, in which case that parent page won't have the in-tree and containsHead
|
||||||
// values. Walking up the tree in resolveId ensures that they do
|
// values. Walking up the tree in resolveId ensures that they do
|
||||||
return this.resolve(source, importer, { skipSelf: true }).then(result => {
|
return this.resolve(source, importer, { skipSelf: true }).then((result) => {
|
||||||
if (result) {
|
if (result) {
|
||||||
let info = this.getModuleInfo(result.id);
|
let info = this.getModuleInfo(result.id);
|
||||||
const astro = info && getAstroMetadata(info);
|
const astro = info && getAstroMetadata(info);
|
||||||
|
|
Loading…
Reference in a new issue