From ffe71377ecb01d4a14f09a5393ac921b3cfbf473 Mon Sep 17 00:00:00 2001 From: Basti Hoffmann Date: Fri, 9 Apr 2021 15:34:08 +0200 Subject: [PATCH] fix(FTP): respect passing false as tls option --- src/engine/ftp-engine.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/ftp-engine.ts b/src/engine/ftp-engine.ts index 9c0d07b..427f836 100644 --- a/src/engine/ftp-engine.ts +++ b/src/engine/ftp-engine.ts @@ -30,7 +30,7 @@ export const run = async ( port: options.port || 21, user: options.username, password: options.password, - secure: options.tls || true + secure: options.tls ?? true }) logger.info(`✔️ Connected to remote ${options.host}`);