mirror of
https://github.com/withastro/astro.git
synced 2025-01-27 22:19:04 -05:00
[ci] format
This commit is contained in:
parent
8cc3d6aa46
commit
86b05491f0
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue