mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
[ci] format
This commit is contained in:
parent
6fa6025b34
commit
e4b2a2e3c7
1 changed files with 4 additions and 1 deletions
|
@ -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, {
|
||||
|
|
Loading…
Reference in a new issue