mirror of
https://github.com/Eugeny/tabby.git
synced 2025-01-05 09:34:56 +03:00
lint
This commit is contained in:
parent
a4dc6832f3
commit
316b77ec7b
@ -105,9 +105,9 @@ export class SerialSession extends BaseSession {
|
|||||||
this.executeUnconditionalScripts()
|
this.executeUnconditionalScripts()
|
||||||
}
|
}
|
||||||
|
|
||||||
write (data: string): void {
|
write (data: Buffer): void {
|
||||||
if (this.serial) {
|
if (this.serial) {
|
||||||
this.serial.write(data)
|
this.serial.write(data.toString())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -288,9 +288,9 @@ export class SSHSession extends BaseSession {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
write (data: string): void {
|
write (data: Buffer): void {
|
||||||
if (this.shell) {
|
if (this.shell) {
|
||||||
this.shell.write(data)
|
this.shell.write(data.toString())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ export class SSHTabComponent extends BaseTerminalTabComponent {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
async initializeSession (): void {
|
async initializeSession (): Promise<void> {
|
||||||
if (!this.connection) {
|
if (!this.connection) {
|
||||||
this.logger.error('No SSH connection info supplied')
|
this.logger.error('No SSH connection info supplied')
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user