mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-24 05:19:57 +00:00
lint
This commit is contained in:
parent
ef5c9b52a5
commit
2b8bb47aed
@ -245,6 +245,7 @@ export class SSHSession extends BaseSession {
|
|||||||
socket.destroy()
|
socket.destroy()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if (stream) {
|
||||||
stream.pipe(socket)
|
stream.pipe(socket)
|
||||||
socket.pipe(stream)
|
socket.pipe(stream)
|
||||||
stream.on('close', () => {
|
stream.on('close', () => {
|
||||||
@ -254,6 +255,7 @@ export class SSHSession extends BaseSession {
|
|||||||
stream.close()
|
stream.close()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
}
|
||||||
)
|
)
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.emitServiceMessage(colors.bgGreen.black(' -> ') + ` Forwaded ${fw}`)
|
this.emitServiceMessage(colors.bgGreen.black(' -> ') + ` Forwaded ${fw}`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user