updated ftp-deploy with dryrun patch

This commit is contained in:
SamKirkland 2020-10-25 00:41:02 -05:00
parent 928e32c59b
commit 63b04d6546
3 changed files with 6 additions and 6 deletions

2
dist/index.js vendored
View File

@ -1991,7 +1991,7 @@ function createFolder(client, folderPath, logger, timings, dryRun) {
var _a;
return __awaiter(this, void 0, void 0, function* () {
logger.all(`creating folder "${folderPath + "/"}"`);
if (dryRun === false) {
if (dryRun === true) {
return;
}
const path = getFileBreadcrumbs(folderPath + "/");

6
package-lock.json generated
View File

@ -147,9 +147,9 @@
}
},
"@samkirkland/ftp-deploy": {
"version": "0.9.7",
"resolved": "https://registry.npmjs.org/@samkirkland/ftp-deploy/-/ftp-deploy-0.9.7.tgz",
"integrity": "sha512-4kdfy7tMCG4R+JGCK5zD3JwelL8au3Y1a3W5rBBgGRgPADBTCSS5hXDithKpKNO2ogMUBGxFfC9ebS/IkhPtqw==",
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@samkirkland/ftp-deploy/-/ftp-deploy-1.0.0.tgz",
"integrity": "sha512-K1Iu2FJZuPH30v9EUmXQjS/8nTtFUTWURKv4SN4F6jSViyoUrf+ZtlzLZaUQU4/WMC80qdtEKCAvV3DTHSCfBA==",
"requires": {
"basic-ftp": "^4.6.2",
"lodash": "^4.17.20",

View File

@ -1,6 +1,6 @@
{
"name": "ftp-deploy-action",
"version": "1.0.1",
"version": "4.0.0",
"private": true,
"description": "Automate deploying websites and more with this GitHub action",
"main": "dist/index.js",
@ -22,7 +22,7 @@
"license": "MIT",
"dependencies": {
"@actions/core": "^1.2.6",
"@samkirkland/ftp-deploy": "^0.9.7",
"@samkirkland/ftp-deploy": "^1.0.0",
"ts-node-dev": "^1.0.0-pre.62"
},
"devDependencies": {