1
- import { GITHUB_OPTIONS } from "./git" ;
1
+ import { GITHUB_OPTIONS } from "./git" ;
2
2
3
3
// this is resolved on build-time, not by the client
4
4
@@ -23,7 +23,7 @@ interface Tag {
23
23
24
24
const fetchGitHubTags = async ( repo : string ) =>
25
25
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" } ] ) )
27
27
. then ( ( tags : Tag [ ] ) => tags . map ( ( t ) => t . name . substring ( 1 ) ) ) ;
28
28
29
29
// prettier-ignore
@@ -77,7 +77,7 @@ export const LATEST_RELEASES: Record<string, string> = {
77
77
folia : LATEST_FOLIA_RELEASE ,
78
78
waterfall : LATEST_WATERFALL_RELEASE ,
79
79
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 ,
83
83
} ;
0 commit comments