[ci] yarn format
This commit is contained in:
parent
fc5f416382
commit
f930270aed
1 changed files with 2 additions and 2 deletions
|
@ -430,9 +430,9 @@ export function rollupPluginAstroBuildHTML(options: PluginOptions): VitePlugin {
|
||||||
// Output directly to 404.html rather than 400/index.html
|
// Output directly to 404.html rather than 400/index.html
|
||||||
// Supports any other status codes, too
|
// Supports any other status codes, too
|
||||||
if (name.match(STATUS_CODE_RE)) {
|
if (name.match(STATUS_CODE_RE)) {
|
||||||
outPath = npath.posix.join(`${name}.html`)
|
outPath = npath.posix.join(`${name}.html`);
|
||||||
} else {
|
} else {
|
||||||
outPath = npath.posix.join(name, 'index.html')
|
outPath = npath.posix.join(name, 'index.html');
|
||||||
}
|
}
|
||||||
|
|
||||||
this.emitFile({
|
this.emitFile({
|
||||||
|
|
Loading…
Reference in a new issue