1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-08-15 23:40:32 +03:00

Remove semicolons

This commit is contained in:
Vadhvis 2024-07-09 11:32:02 +03:00
parent fa9ee756d2
commit 4ed4d756c9
2 changed files with 3 additions and 3 deletions

View File

@ -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
}
}

View File

@ -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)
}