mirror of
https://github.com/Eugeny/tabby.git
synced 2025-10-04 14:04:56 +00:00
lint
This commit is contained in:
@@ -514,7 +514,7 @@ export class SSHSession {
|
||||
continue
|
||||
}
|
||||
}
|
||||
if (method.type === 'publickey' && method.contents) {
|
||||
if (method.type === 'publickey') {
|
||||
try {
|
||||
const key = await this.loadPrivateKey(method.name, method.contents)
|
||||
const result = await this.ssh.authenticateWithKeyPair(this.authUsername, key)
|
||||
|
Reference in New Issue
Block a user