mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2025-08-15 06:25:05 +00:00
Fixed security options to be reflected
This commit is contained in:
parent
1cffb780cf
commit
ccf4f7781a
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user