User agent

This commit is contained in:
damccorm
2019-08-16 14:05:26 -04:00
parent dd2e8a486f
commit 1c24df3126
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ async function queryLatestMatch(versionSpec: string): Promise<string> {
let versions: string[] = [];
let dataUrl = 'https://nodejs.org/dist/index.json';
let rest: restm.RestClient = new restm.RestClient('vsts-node-tool');
let rest: restm.RestClient = new restm.RestClient('setup-node');
let nodeVersions: INodeVersion[] =
(await rest.get<INodeVersion[]>(dataUrl)).result || [];
nodeVersions.forEach((nodeVersion: INodeVersion) => {