From 2e13dbd14970928700a696dfd962b1a46f2b9054 Mon Sep 17 00:00:00 2001 From: Brennan Benson <79079362+brennanb2025@users.noreply.github.com> Date: Sun, 2 Aug 2026 18:11:20 -0700 Subject: [PATCH] chore(ssh): preserve max-lines after main merge --- src/main/ssh/ssh-connection-utils.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/ssh/ssh-connection-utils.ts b/src/main/ssh/ssh-connection-utils.ts index 26dd66f16e4..1335344a072 100644 --- a/src/main/ssh/ssh-connection-utils.ts +++ b/src/main/ssh/ssh-connection-utils.ts @@ -68,10 +68,7 @@ export function isTransientError(err: Error): boolean { if (code && TRANSIENT_ERROR_CODES.has(code)) { return true } - if (err.message.includes('ETIMEDOUT')) { - return true - } - if (err.message.includes('ECONNREFUSED')) { + if (err.message.includes('ETIMEDOUT') || err.message.includes('ECONNREFUSED')) { return true } if (err.message.includes('ECONNRESET')) {