summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar natemoo-re <natemoo-re@users.noreply.github.com> 2021-11-22 18:07:12 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-11-22 18:07:12 +0000
commitf930270aed6ae82b8d9648ee1143d8cbdf8c2e0f (patch)
tree17aa0c2363b8bdbf35d98c5a096da9159df6179e
parentfc5f4163826f5aaf7db95d630b306d5aec33516e (diff)
downloadastro-f930270aed6ae82b8d9648ee1143d8cbdf8c2e0f.tar.gz
astro-f930270aed6ae82b8d9648ee1143d8cbdf8c2e0f.tar.zst
astro-f930270aed6ae82b8d9648ee1143d8cbdf8c2e0f.zip
[ci] yarn format
-rw-r--r--packages/astro/src/vite-plugin-build-html/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/src/vite-plugin-build-html/index.ts b/packages/astro/src/vite-plugin-build-html/index.ts
index 211145fd1..bdcf7b5ff 100644
--- a/packages/astro/src/vite-plugin-build-html/index.ts
+++ b/packages/astro/src/vite-plugin-build-html/index.ts
@@ -430,9 +430,9 @@ export function rollupPluginAstroBuildHTML(options: PluginOptions): VitePlugin {
// Output directly to 404.html rather than 400/index.html
// Supports any other status codes, too
if (name.match(STATUS_CODE_RE)) {
- outPath = npath.posix.join(`${name}.html`)
+ outPath = npath.posix.join(`${name}.html`);
} else {
- outPath = npath.posix.join(name, 'index.html')
+ outPath = npath.posix.join(name, 'index.html');
}
this.emitFile({