From 86b05491f0c18969e64b6b9361aacc9445fc3b68 Mon Sep 17 00:00:00 2001 From: Mati Date: Tue, 2 Jan 2024 12:09:35 +0000 Subject: [PATCH] [ci] format --- packages/astro/src/i18n/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/astro/src/i18n/index.ts b/packages/astro/src/i18n/index.ts index 694419991b08..a0dcfdff0e9a 100644 --- a/packages/astro/src/i18n/index.ts +++ b/packages/astro/src/i18n/index.ts @@ -168,8 +168,7 @@ export function getLocaleByPath(path: string, locales: Locales): string | undefi const code = locale.codes.at(0); return code; } - } - else if (locale === path) { + } else if (locale === path) { return locale; } }