Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Jan 16, 2025
1 parent d8d346c commit 6db08b7
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 @@ -533,7 +533,7 @@ export class SSHSession {

while (true) {
const m = methodsLeft
const method = this.remainingAuthMethods.find(x => !m || m.includes(sshAuthTypeForMethod(x)))
const method = this.remainingAuthMethods.find(x => m.length === 0 || m.includes(sshAuthTypeForMethod(x)))

if (!method) {
return null
Expand Down

0 comments on commit 6db08b7

Please sign in to comment.