[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)),
|
pathExists: (p) => fs.existsSync(new URL(p.replace(/^\//, ''), config.outDir)),
|
||||||
readFile: (filePath, encoding) =>
|
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)),
|
readdir: (fp) => fs.promises.readdir(new URL(fp.replace(/^\//, ''), config.outDir)),
|
||||||
glob: (p) =>
|
glob: (p) =>
|
||||||
fastGlob(p, {
|
fastGlob(p, {
|
||||||
|
|
Loading…
Add table
Reference in a new issue