From ccf4f7781a82ac50eced50f9ac095366903b7b0b Mon Sep 17 00:00:00 2001 From: zaimy Date: Thu, 22 Apr 2021 22:45:26 +0900 Subject: [PATCH] Fixed security options to be reflected --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 2516c9a..6619ef8 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2069,7 +2069,7 @@ function connect(client, args, logger) { secure = "implicit"; } client.ftp.verbose = args["log-level"] === "verbose"; - const rejectUnauthorized = args.security === "loose"; + const rejectUnauthorized = args.security === "strict"; yield client.access({ host: args.server, user: args.username,