Fix incorrect default for proxy setting when downloading STS (#22396)

This commit is contained in:
Charles Gagnon
2023-03-22 09:28:32 -07:00
committed by GitHub
parent e3135aca4c
commit d7bd87fac0

View File

@@ -96,7 +96,7 @@ export class SqlToolsServer {
this.config = JSON.parse(rawConfig.toString());
this.config.installDirectory = path.join(configDir, this.config.installDirectory);
this.config.proxy = vscode.workspace.getConfiguration('http').get('proxy');
this.config.strictSSL = vscode.workspace.getConfiguration('http').get('proxyStrictSSL') || true;
this.config.strictSSL = vscode.workspace.getConfiguration('http').get('proxyStrictSSL', true);
return getOrDownloadServer(this.config, handleServerProviderEvent);
}