Skip to content

Commit

Permalink
lint fix and re-using the proxy variable
Browse files Browse the repository at this point in the history
  • Loading branch information
sadasant committed May 26, 2022
1 parent bb37293 commit 1ab0e53
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/platform/common/net/httpClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class HttpClient implements IHttpClient {
constructor(@inject(IWorkspaceService) workspaceService: IWorkspaceService) {
const proxy = workspaceService.getConfiguration('http').get('proxy', '');
if (proxy) {
this.requestOptions = { headers: { proxy: workspaceService.getConfiguration('http').get('proxy', '') } };
this.requestOptions = { headers: { proxy } };
}
}

Expand Down
1 change: 0 additions & 1 deletion src/webviews/extension-side/webviews/webview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
'use strict';
import '../../../platform/common/extensions';

import * as uriPath from '../../../platform/vscode-path/resources';
import {
Event,
EventEmitter,
Expand Down

0 comments on commit 1ab0e53

Please sign in to comment.