1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-go synced 2025-06-11 04:52:25 +02:00

bit of cleanup

This commit is contained in:
Bryan MacFarlane 2020-02-09 14:39:34 -05:00
parent f4b0281c15
commit 7af81a4a65
3 changed files with 22 additions and 11 deletions

View file

@ -96,7 +96,7 @@ export async function findMatch(
export async function getVersions(dlUrl: string): Promise<IGoVersion[] | null> {
// this returns versions descending so latest is first
let http: httpm.HttpClient = new httpm.HttpClient('setup-go');
let http: httpm.HttpClient = new httpm.HttpClient('setup-go');
let candidates: IGoVersion[] | null = (await http.getJson<IGoVersion[]>(
dlUrl
)).result;