diff --git a/Tasks/VsTest/testAgent.ts b/Tasks/VsTest/testAgent.ts index e4f91c5a1596..43454d8cf5ed 100644 --- a/Tasks/VsTest/testAgent.ts +++ b/Tasks/VsTest/testAgent.ts @@ -5,7 +5,7 @@ import * as testInterfaces from 'vso-node-api/interfaces/TestInterfaces' import * as models from './models'; export class TestAgent { - public static async createAgent(environment: models.DtaEnvironment, retries: number) : number { + public static async createAgent(environment: models.DtaEnvironment, retries: number) { while(retries > 0) { retries--; try {