mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-24 09:06:03 +00:00
lint
This commit is contained in:
@@ -105,9 +105,9 @@ export class SerialSession extends BaseSession {
|
||||
this.executeUnconditionalScripts()
|
||||
}
|
||||
|
||||
write (data: string): void {
|
||||
write (data: Buffer): void {
|
||||
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) {
|
||||
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) {
|
||||
this.logger.error('No SSH connection info supplied')
|
||||
return
|
||||
|
Reference in New Issue
Block a user