Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Aug 20, 2024
1 parent b5975f0 commit b0e0709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tabby-ssh/src/session/ssh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b0e0709

Please sign in to comment.