0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

[ci] format

This commit is contained in:
matthewp 2023-02-08 21:44:40 +00:00 committed by fredkbot
parent 6fa6025b34
commit e4b2a2e3c7

View file

@ -167,7 +167,10 @@ export async function loadFixture(inlineConfig) {
},
pathExists: (p) => fs.existsSync(new URL(p.replace(/^\//, ''), config.outDir)),
readFile: (filePath, encoding) =>
fs.promises.readFile(new URL(filePath.replace(/^\//, ''), config.outDir), encoding === undefined ? 'utf8' : encoding),
fs.promises.readFile(
new URL(filePath.replace(/^\//, ''), config.outDir),
encoding === undefined ? 'utf8' : encoding
),
readdir: (fp) => fs.promises.readdir(new URL(fp.replace(/^\//, ''), config.outDir)),
glob: (p) =>
fastGlob(p, {