Skip to content

Commit 84049e6

Browse files
authored
Merge pull request #47 from Microsoft/users/kerobert/addcerts
Downloader needs to know about certs
2 parents 5a625aa + e02ab95 commit 84049e6

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vsts-task-tool-lib",
3-
"version": "0.10.0",
3+
"version": "0.10.1",
44
"description": "VSTS Tool Installer Lib for CI/CD Tasks",
55
"main": "tool.js",
66
"scripts": {

tool.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ let pkg = require(path.join(__dirname, 'package.json'));
1616
let userAgent = 'vsts-task-installer/' + pkg.version;
1717
let requestOptions = {
1818
// ignoreSslError: true,
19-
proxy: tl.getHttpProxyConfiguration()
19+
proxy: tl.getHttpProxyConfiguration(),
20+
cert: tl.getHttpCertConfiguration()
2021
} as ifm.IRequestOptions;
2122
let http: httpm.HttpClient = new httpm.HttpClient(userAgent, null, requestOptions);
2223
tl.setResourcePath(path.join(__dirname, 'lib.json'));

0 commit comments

Comments
 (0)