Skip to content

Commit 931a4be

Browse files
committed
Delete unneeded PipeExtensions patch
1 parent be411d4 commit 931a4be

File tree

2 files changed

+1
-172
lines changed

2 files changed

+1
-172
lines changed

src/local-ssh/patch/pipeExtension.ts

Lines changed: 0 additions & 170 deletions
This file was deleted.

src/local-ssh/server.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import { SshServer, SshClient } from '@microsoft/dev-tunnels-ssh-tcp';
1212
import { NodeStream, SshClientCredentials, SshClientSession, SshDisconnectReason, SshSessionConfiguration } from '@microsoft/dev-tunnels-ssh';
1313
import { importKeyBytes } from '@microsoft/dev-tunnels-ssh-keys';
1414
import { parsePrivateKey } from 'sshpk';
15-
import { PipeExtensions } from './patch/pipeExtension';
1615
import { SendLocalSSHUserFlowStatusRequest_Code, SendLocalSSHUserFlowStatusRequest_ConnType, SendLocalSSHUserFlowStatusRequest_Status } from '../proto/typescript/ipc/v1/ipc';
1716

1817

@@ -86,7 +85,7 @@ export class LocalSSHGatewayServer {
8685
});
8786
session.onClientAuthenticated(async () => {
8887
try {
89-
await PipeExtensions.pipeSession(session, pipeSession);
88+
await session.pipe(pipeSession);
9089
} catch (e) {
9190
this.logger.error(e, 'pipe session ended with error');
9291
} finally {

0 commit comments

Comments
 (0)