File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -247,16 +247,6 @@ export async function downloadTool(url: string, fileName?: string): Promise<stri
247
247
} )
248
248
}
249
249
catch ( error ) {
250
- if ( error . code ) {
251
- // Print the HTTP Error code. These are always set when
252
- // there is a proxy problem. Two usual suspects are:
253
- // UNABLE_TO_VERIFY_LEAF_SIGNATURE: True when your proxy
254
- // is expressing a self signed cert or when you need
255
- // to trust the root CA from your proxy.
256
- // UNABLE_TO_GET_ISSUER_CERT_LOCALLY: Seems to be set
257
- // when you haven't trusted intermediate CA of your proxy.
258
- tl . error ( `Error code is(${ error . code } )` )
259
- }
260
250
reject ( error ) ;
261
251
}
262
252
} ) ;
@@ -496,7 +486,7 @@ function _createExtractFolder(dest?: string): string {
496
486
}
497
487
498
488
tl . mkdirP ( dest ) ;
499
-
489
+
500
490
return dest ;
501
491
}
502
492
You can’t perform that action at this time.
0 commit comments