From 6db08b765f274603b44971ab2735764bb8498229 Mon Sep 17 00:00:00 2001 From: Eugene Date: Thu, 16 Jan 2025 22:30:36 +0100 Subject: [PATCH] lint --- tabby-ssh/src/session/ssh.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabby-ssh/src/session/ssh.ts b/tabby-ssh/src/session/ssh.ts index 008e78b1d4..01ecdcebef 100644 --- a/tabby-ssh/src/session/ssh.ts +++ b/tabby-ssh/src/session/ssh.ts @@ -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