mirror of
https://github.com/withastro/astro.git
synced 2025-02-03 22:29:08 -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);
|
const code = locale.codes.at(0);
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
}
|
} else if (locale === path) {
|
||||||
else if (locale === path) {
|
|
||||||
return locale;
|
return locale;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue