@@ -100,7 +100,7 @@ export class HttpBuildCacheProvider implements ICloudBuildCacheProvider {
100100 ) : Promise < Buffer | undefined > {
101101 try {
102102 const result : boolean | Buffer = await this . _makeHttpRequestAsync ( {
103- terminal : terminal ,
103+ terminal,
104104 relUrl : `${ this . _cacheKeyPrefix } ${ cacheId } ` ,
105105 method : 'GET' ,
106106 body : undefined ,
@@ -127,7 +127,7 @@ export class HttpBuildCacheProvider implements ICloudBuildCacheProvider {
127127
128128 try {
129129 const result : boolean | Buffer = await this . _makeHttpRequestAsync ( {
130- terminal : terminal ,
130+ terminal,
131131 relUrl : `${ this . _cacheKeyPrefix } ${ cacheId } ` ,
132132 method : this . _uploadMethod ,
133133 body : objectBuffer ,
@@ -149,7 +149,7 @@ export class HttpBuildCacheProvider implements ICloudBuildCacheProvider {
149149 ) : Promise < NodeJS . ReadableStream | undefined > {
150150 try {
151151 const result : IWebClientStreamResponse | false = await this . _makeHttpStreamRequestAsync ( {
152- terminal : terminal ,
152+ terminal,
153153 relUrl : `${ this . _cacheKeyPrefix } ${ cacheId } ` ,
154154 method : 'GET' ,
155155 body : undefined ,
@@ -175,7 +175,7 @@ export class HttpBuildCacheProvider implements ICloudBuildCacheProvider {
175175
176176 try {
177177 const result : IWebClientStreamResponse | false = await this . _makeHttpStreamRequestAsync ( {
178- terminal : terminal ,
178+ terminal,
179179 relUrl : `${ this . _cacheKeyPrefix } ${ cacheId } ` ,
180180 method : this . _uploadMethod ,
181181 body : entryStream as Readable ,
@@ -202,7 +202,7 @@ export class HttpBuildCacheProvider implements ICloudBuildCacheProvider {
202202 } ,
203203 async ( credentialsCache : CredentialCache ) => {
204204 credentialsCache . setCacheEntry ( this . _credentialCacheId , {
205- credential : credential
205+ credential
206206 } ) ;
207207 await credentialsCache . saveIfModifiedAsync ( ) ;
208208 }
@@ -376,8 +376,8 @@ export class HttpBuildCacheProvider implements ICloudBuildCacheProvider {
376376
377377 const fetchOptions : IGetFetchOptions | IFetchOptionsWithBody = {
378378 verb : method ,
379- headers : headers ,
380- body : body ,
379+ headers,
380+ body,
381381 redirect : 'follow' ,
382382 timeoutMs : 0 // Disable timeout for streaming transfers of large cache entries
383383 } ;
0 commit comments