diff options
author | 2021-11-22 18:07:12 +0000 | |
---|---|---|
committer | 2021-11-22 18:07:12 +0000 | |
commit | f930270aed6ae82b8d9648ee1143d8cbdf8c2e0f (patch) | |
tree | 17aa0c2363b8bdbf35d98c5a096da9159df6179e | |
parent | fc5f4163826f5aaf7db95d630b306d5aec33516e (diff) | |
download | astro-f930270aed6ae82b8d9648ee1143d8cbdf8c2e0f.tar.gz astro-f930270aed6ae82b8d9648ee1143d8cbdf8c2e0f.tar.zst astro-f930270aed6ae82b8d9648ee1143d8cbdf8c2e0f.zip |
[ci] yarn format
-rw-r--r-- | packages/astro/src/vite-plugin-build-html/index.ts | 4 |
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({ |