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;