mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-10 18:34:36 +00:00
typing cleanup
This commit is contained in:
@@ -471,7 +471,7 @@ export class SSHSession extends BaseSession {
|
||||
this.logger.info(stripAnsi(msg))
|
||||
}
|
||||
|
||||
async handleAuth (methodsLeft?: string[]): Promise<any> {
|
||||
async handleAuth (methodsLeft?: string[] | null): Promise<any> {
|
||||
this.activePrivateKey = null
|
||||
|
||||
while (true) {
|
||||
|
@@ -146,7 +146,7 @@ export class SSHService {
|
||||
callback(await session.handleAuth(methodsLeft))
|
||||
})
|
||||
},
|
||||
} as any)
|
||||
})
|
||||
} catch (e) {
|
||||
this.notifications.error(e.message)
|
||||
throw e
|
||||
|
Reference in New Issue
Block a user