[ci] yarn format
This commit is contained in:
parent
0fca1fbcab
commit
f061a2b54f
1 changed files with 3 additions and 3 deletions
|
@ -215,8 +215,8 @@ ${stack}
|
||||||
for (const id of Object.keys(buildState)) {
|
for (const id of Object.keys(buildState)) {
|
||||||
const outPath = new URL(`.${id}`, astroConfig.dist);
|
const outPath = new URL(`.${id}`, astroConfig.dist);
|
||||||
const parentDir = path.dirname(fileURLToPath(outPath));
|
const parentDir = path.dirname(fileURLToPath(outPath));
|
||||||
await fs.promises.mkdir(parentDir, {recursive: true});
|
await fs.promises.mkdir(parentDir, { recursive: true });
|
||||||
const handle = await fs.promises.open(outPath, "w")
|
const handle = await fs.promises.open(outPath, 'w');
|
||||||
await fs.promises.writeFile(handle, buildState[id].contents, buildState[id].encoding);
|
await fs.promises.writeFile(handle, buildState[id].contents, buildState[id].encoding);
|
||||||
|
|
||||||
// Ensure the file handle is not left hanging which will
|
// Ensure the file handle is not left hanging which will
|
||||||
|
@ -226,7 +226,7 @@ ${stack}
|
||||||
|
|
||||||
delete buildState[id];
|
delete buildState[id];
|
||||||
delete depTree[id];
|
delete depTree[id];
|
||||||
};
|
}
|
||||||
debug(logging, 'build', `wrote files to disk [${stopTimer(timer.write)}]`);
|
debug(logging, 'build', `wrote files to disk [${stopTimer(timer.write)}]`);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue