bit of cleanup

This commit is contained in:
Bryan MacFarlane committed 2020-02-09 14:39:34 -05:00
1 parent f4b0281c15
commit 7af81a4a65
3 files changed
+22 -11

No files matched your search

+1 -1
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;