File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ export class NtlmCredentialHandler implements VsoBaseInterfaces.IRequestHandler
27
27
28
28
prepareRequest ( options :any ) : void {
29
29
// No headers or options need to be set. We keep the credentials on the handler itself.
30
+ // If a (proxy) agent is set, remove it as we don't support proxy for NTLM at this time
31
+ if ( options . agent ) {
32
+ delete options . agent ;
33
+ }
30
34
}
31
35
32
36
canHandleAuthentication ( res : VsoBaseInterfaces . IHttpResponse ) : boolean {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vso-node-api" ,
3
3
"description" : " Node client for Visual Studio Online/TFS REST APIs" ,
4
- "version" : " 5.1.0 " ,
4
+ "version" : " 5.1.1 " ,
5
5
"main" : " ./WebApi.js" ,
6
6
"typings" : " ./WebApi.d.ts" ,
7
7
"scripts" : {
You can’t perform that action at this time.
0 commit comments