From 4ed4d756c9589d91d1d3708b453da61aed444442 Mon Sep 17 00:00:00 2001 From: Vadhvis Date: Tue, 9 Jul 2024 11:32:02 +0300 Subject: [PATCH] Remove semicolons --- tabby-ssh/src/polyfills.ts | 4 ++-- tabby-ssh/src/session/ssh.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tabby-ssh/src/polyfills.ts b/tabby-ssh/src/polyfills.ts index 8872290d..da48c261 100644 --- a/tabby-ssh/src/polyfills.ts +++ b/tabby-ssh/src/polyfills.ts @@ -1,4 +1,4 @@ -import 'ssh2'; +import 'ssh2' const nodeCrypto = require('crypto') const browserDH = require('diffie-hellman/browser') nodeCrypto.createDiffieHellmanGroup = browserDH.createDiffieHellmanGroup @@ -7,6 +7,6 @@ nodeCrypto.createDiffieHellman = browserDH.createDiffieHellman // Declare function missing from @types declare module 'ssh2' { interface Client { - setNoDelay(enable?: boolean): this; + setNoDelay(enable?: boolean): this } } \ No newline at end of file diff --git a/tabby-ssh/src/session/ssh.ts b/tabby-ssh/src/session/ssh.ts index bb1de94d..2ad99325 100644 --- a/tabby-ssh/src/session/ssh.ts +++ b/tabby-ssh/src/session/ssh.ts @@ -219,7 +219,7 @@ export class SSHSession { ssh.on('ready', () => { connected = true // Fix SSH Lagging - ssh.setNoDelay(true); + ssh.setNoDelay(true) if (this.savedPassword) { this.passwordStorage.savePassword(this.profile, this.savedPassword) }