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; var _a;
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
logger.all(`creating folder "${folderPath + "/"}"`); logger.all(`creating folder "${folderPath + "/"}"`);
if (dryRun === false) { if (dryRun === true) {
return; return;
} }
const path = getFileBreadcrumbs(folderPath + "/"); const path = getFileBreadcrumbs(folderPath + "/");

6
package-lock.json generated
View File

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

View File

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