Skip to content

Commit d876719

Browse files
committed
pnpm format
1 parent f1430e8 commit d876719

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/utils/versions.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {GITHUB_OPTIONS} from "./git";
1+
import { GITHUB_OPTIONS } from "./git";
22

33
// this is resolved on build-time, not by the client
44

@@ -23,7 +23,7 @@ interface Tag {
2323

2424
const fetchGitHubTags = async (repo: string) =>
2525
await fetch(`https://api.github.com/repos/${repo}/tags`, GITHUB_OPTIONS)
26-
.then((r) => (r.ok ? r.json() : [{name: "v0.0.0"}]))
26+
.then((r) => (r.ok ? r.json() : [{ name: "v0.0.0" }]))
2727
.then((tags: Tag[]) => tags.map((t) => t.name.substring(1)));
2828

2929
// prettier-ignore
@@ -77,7 +77,7 @@ export const LATEST_RELEASES: Record<string, string> = {
7777
folia: LATEST_FOLIA_RELEASE,
7878
waterfall: LATEST_WATERFALL_RELEASE,
7979
userdev: LATEST_USERDEV_RELEASE,
80-
'adventure-api': LATEST_ADVENTURE_API_RELEASE,
81-
'adventure-platform': LATEST_ADVENTURE_PLATFORM_RELEASE,
82-
'adventure-ansi': LATEST_ADVENTURE_ANSI_RELEASE,
80+
"adventure-api": LATEST_ADVENTURE_API_RELEASE,
81+
"adventure-platform": LATEST_ADVENTURE_PLATFORM_RELEASE,
82+
"adventure-ansi": LATEST_ADVENTURE_ANSI_RELEASE,
8383
};

0 commit comments

Comments
 (0)