mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Pick up change to fall back to DIRECT
This commit is contained in:
parent
f1736d3c89
commit
269ae7b3a6
|
@ -49,7 +49,7 @@
|
|||
"vscode-chokidar": "1.6.5",
|
||||
"vscode-debugprotocol": "1.32.0",
|
||||
"vscode-nsfw": "1.1.1",
|
||||
"vscode-proxy-agent": "0.1.0",
|
||||
"vscode-proxy-agent": "0.1.1",
|
||||
"vscode-ripgrep": "^1.2.4",
|
||||
"vscode-sqlite3": "4.0.2",
|
||||
"vscode-textmate": "^4.0.1",
|
||||
|
|
|
@ -701,8 +701,8 @@ export class WorkspaceStats implements IWorkbenchContribution {
|
|||
private reportProxyStats() {
|
||||
this.windowService.resolveProxy('https://www.example.com/')
|
||||
.then(proxy => {
|
||||
let type = String(proxy).trim().split(/\s+/, 1)[0];
|
||||
if (['DIRECT', 'PROXY', 'HTTPS', 'SOCKS'].indexOf(type) === -1) {
|
||||
let type = proxy ? String(proxy).trim().split(/\s+/, 1)[0] : 'EMPTY';
|
||||
if (['DIRECT', 'PROXY', 'HTTPS', 'SOCKS', 'EMPTY'].indexOf(type) === -1) {
|
||||
type = 'UNKNOWN';
|
||||
}
|
||||
/* __GDPR__
|
||||
|
|
|
@ -9358,10 +9358,10 @@ vscode-nsfw@1.1.1:
|
|||
lodash.isundefined "^3.0.1"
|
||||
nan "^2.10.0"
|
||||
|
||||
vscode-proxy-agent@0.1.0:
|
||||
version "0.1.0"
|
||||
resolved "https://registry.yarnpkg.com/vscode-proxy-agent/-/vscode-proxy-agent-0.1.0.tgz#a85d9afbe6d305c06f221ea322bd2f4a9c133e72"
|
||||
integrity sha512-B9OA7DpclVZ9arrB5ZAelgFcI3uwpoJJB+XJwNYmYpYXecEY05ccoqpHhyH8JnV6GVTmpPWHi++6wwCBJqA3PA==
|
||||
vscode-proxy-agent@0.1.1:
|
||||
version "0.1.1"
|
||||
resolved "https://registry.yarnpkg.com/vscode-proxy-agent/-/vscode-proxy-agent-0.1.1.tgz#dabf44726afe838143d445a88ae03455928cc4a7"
|
||||
integrity sha512-/sC95JmVy+HjJIFzza131muUAyCy0aT8a5zIgu9bkrntzsh3V/sKtbVX64Ig59dvgyOghsSEF4D9wQKGbmrAQg==
|
||||
dependencies:
|
||||
agent-base "4.2.1"
|
||||
debug "3.1.0"
|
||||
|
|
Loading…
Reference in a new issue