summaryrefslogtreecommitdiff
path: root/docs/src/util.ts
diff options
context:
space:
mode:
authorGravatar FredKSchott <FredKSchott@users.noreply.github.com> 2021-08-02 06:40:02 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-08-02 06:40:02 +0000
commit877f9d270200794a3756121ed8b742aa40dfc239 (patch)
tree07e2c11e8032f2ed13588d4664057c9106be46cf /docs/src/util.ts
parent94f89a3c88b0a3795896699fef08611c345cfe1d (diff)
downloadastro-877f9d270200794a3756121ed8b742aa40dfc239.tar.gz
astro-877f9d270200794a3756121ed8b742aa40dfc239.tar.zst
astro-877f9d270200794a3756121ed8b742aa40dfc239.zip
[ci] yarn format
Diffstat (limited to 'docs/src/util.ts')
-rw-r--r--docs/src/util.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/util.ts b/docs/src/util.ts
index ba4f4fb3d..53752077e 100644
--- a/docs/src/util.ts
+++ b/docs/src/util.ts
@@ -1,4 +1,4 @@
-export function getLanguageFromURL(pathname:string) {
+export function getLanguageFromURL(pathname: string) {
const langCodeMatch = pathname.match(/\/([a-z]{2})\//);
return langCodeMatch ? langCodeMatch[1] : 'en';
-} \ No newline at end of file
+}