From 82571b7396b75dbd35486fc84b637da0c5f73e00 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Wed, 30 Aug 2023 10:36:19 +0000 Subject: [PATCH] chore: apply automated lint fixes --- src/prerender.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/prerender.ts b/src/prerender.ts index d7c71160e0..8d7a77b184 100644 --- a/src/prerender.ts +++ b/src/prerender.ts @@ -214,9 +214,10 @@ export async function prerender(nitro: Nitro) { const isImplicitHTML = !route.endsWith(".html") && contentType.includes("html"); const routeWithIndex = route.endsWith("/") ? route + "index" : route; - const htmlPath = route.endsWith("/") || nitro.options.experimental.prerenderIndexHTML - ? joinURL(route, "index.html") - : route + ".html"; + const htmlPath = + route.endsWith("/") || nitro.options.experimental.prerenderIndexHTML + ? joinURL(route, "index.html") + : route + ".html"; _route.fileName = withoutBase( isImplicitHTML ? htmlPath : routeWithIndex, nitro.options.baseURL