summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar tony-sull <tony-sull@users.noreply.github.com> 2021-09-24 15:59:26 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-09-24 15:59:26 +0000
commitf061a2b54fc7f3e1e52037575d17c068eba520fd (patch)
treed4204a9e4e66091e5c892959e8e77ff63137dd5d
parent0fca1fbcabf1c27d18864eb80a15e37e42d93c88 (diff)
downloadastro-f061a2b54fc7f3e1e52037575d17c068eba520fd.tar.gz
astro-f061a2b54fc7f3e1e52037575d17c068eba520fd.tar.zst
astro-f061a2b54fc7f3e1e52037575d17c068eba520fd.zip
[ci] yarn format
-rw-r--r--packages/astro/src/build.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/astro/src/build.ts b/packages/astro/src/build.ts
index 02d52bc88..9222aabcf 100644
--- a/packages/astro/src/build.ts
+++ b/packages/astro/src/build.ts
@@ -215,8 +215,8 @@ ${stack}
for (const id of Object.keys(buildState)) {
const outPath = new URL(`.${id}`, astroConfig.dist);
const parentDir = path.dirname(fileURLToPath(outPath));
- await fs.promises.mkdir(parentDir, {recursive: true});
- const handle = await fs.promises.open(outPath, "w")
+ await fs.promises.mkdir(parentDir, { recursive: true });
+ const handle = await fs.promises.open(outPath, 'w');
await fs.promises.writeFile(handle, buildState[id].contents, buildState[id].encoding);
// Ensure the file handle is not left hanging which will
@@ -226,7 +226,7 @@ ${stack}
delete buildState[id];
delete depTree[id];
- };
+ }
debug(logging, 'build', `wrote files to disk [${stopTimer(timer.write)}]`);
/**