mirror of
https://github.com/actions/setup-go.git
synced 2025-05-22 02:22:24 +00:00
bit of cleanup
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user