This commit is contained in:
Martin Aeschlimann 2021-10-15 23:57:54 +02:00
parent e02350dd74
commit a946f9e643
No known key found for this signature in database
GPG key ID: 2609A01E695523E3

View file

@ -130,8 +130,7 @@ export function activate(context: vscode.ExtensionContext) {
});
});
return serverPromise.then(serverAddr => {
// eslint-disable-next-line no-async-promise-executor
return new Promise<vscode.ResolvedAuthority>(async (res, _rej) => {
return new Promise<vscode.ResolvedAuthority>((res, _rej) => {
const proxyServer = net.createServer(proxySocket => {
outputChannel.appendLine(`Proxy connection accepted`);
let remoteReady = true, localReady = true;