mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-26 14:29:53 +00:00
lint
This commit is contained in:
parent
7e92d4c49f
commit
d069f39bc7
@ -87,7 +87,7 @@ export class SSHModalComponent {
|
|||||||
|
|
||||||
let connections = this.connections
|
let connections = this.connections
|
||||||
if (this.quickTarget) {
|
if (this.quickTarget) {
|
||||||
connections = connections.filter(connection => (connection.name + connection.group).toLowerCase().includes(this.quickTarget))
|
connections = connections.filter((connection: SSHConnection) => (connection.name + connection.group!).toLowerCase().includes(this.quickTarget))
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const connection of connections) {
|
for (const connection of connections) {
|
||||||
|
@ -46,7 +46,7 @@ export class SSHTabComponent extends BaseTerminalTabComponent {
|
|||||||
this.write(`Connecting to ${this.connection.host}`)
|
this.write(`Connecting to ${this.connection.host}`)
|
||||||
const interval = setInterval(() => this.write('.'), 500)
|
const interval = setInterval(() => this.write('.'), 500)
|
||||||
try {
|
try {
|
||||||
await this.ssh.connectSession(this.session, message => {
|
await this.ssh.connectSession(this.session, (message: string) => {
|
||||||
this.write('\r\n' + message)
|
this.write('\r\n' + message)
|
||||||
})
|
})
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user