mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[ci] yarn format
This commit is contained in:
parent
ff89a6a7a6
commit
8e01a3c463
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ export async function main() {
|
||||||
return indent + importStatements.join('\n');
|
return indent + importStatements.join('\n');
|
||||||
})
|
})
|
||||||
.replace(/^(\s*)<!-- ASTRO:COMPONENT_MARKUP -->/gm, (_, indent) => {
|
.replace(/^(\s*)<!-- ASTRO:COMPONENT_MARKUP -->/gm, (_, indent) => {
|
||||||
return components.map(ln => indent + ln).join('\n');
|
return components.map((ln) => indent + ln).join('\n');
|
||||||
});
|
});
|
||||||
await fs.promises.writeFile(pageFileLoc, newContent);
|
await fs.promises.writeFile(pageFileLoc, newContent);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue