0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-27 22:19:04 -05:00

[ci] format

This commit is contained in:
Mati 2024-01-02 12:09:35 +00:00 committed by astrobot-houston
parent 8cc3d6aa46
commit 86b05491f0

View file

@ -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;
}
}