Fix formatting and syntax

This commit is contained in:
Remco Mokveld 2025-03-12 14:13:39 +01:00
parent cfdc6db0ae
commit 2ee6cdf283

View File

@ -67,11 +67,9 @@ export async function getToken(accessKey: string, expiry: string): Promise<Devel
} }
class ShortLivedTokenClient { class ShortLivedTokenClient {
httpc = new httpm.HttpClient( httpc = new httpm.HttpClient('gradle/actions/setup-gradle', undefined, {
'gradle/actions/setup-gradle', ignoreSslError: process.env.DEVELOCITY_ALLOW_UNTRUSTED_SERVER === 'true'
undefined, })
{ignoreSslError: process.env.DEVELOCITY_ALLOW_UNTRUSTED_SERVER == "true"}
)
maxRetries = 3 maxRetries = 3
retryInterval = 1000 retryInterval = 1000