Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
fix(FTP): respect passing false as tls option
Browse files Browse the repository at this point in the history
  • Loading branch information
bohoffi committed Apr 9, 2021
1 parent 8f7c844 commit ffe7137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/ftp-engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down

0 comments on commit ffe7137

Please sign in to comment.