From cf01d4cbf485cb7234fc456ab3b9cf7dffeee832 Mon Sep 17 00:00:00 2001 From: ChangHwan Kim Date: Thu, 18 Apr 2024 14:17:18 +0900 Subject: [PATCH] Minor changes Co-authored-by: Anees Iqbal --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index f930e32..338c965 100644 --- a/src/index.ts +++ b/src/index.ts @@ -420,7 +420,7 @@ export class NodeSSH { channel.on('close', () => { let stdout = output.stdout.join('') let stderr = output.stderr.join('') - if (options.noTrim === false) { + if (options.noTrim !== true) { stdout = stdout.trim() stderr = stderr.trim() }