mirror of
https://github.com/Eugeny/tabby.git
synced 2024-10-26 12:43:50 +03:00
Remove semicolons
This commit is contained in:
parent
fa9ee756d2
commit
4ed4d756c9
@ -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
|
||||
}
|
||||
}
|
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user