mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2025-08-17 15:35:04 +00:00
fix
This commit is contained in:
parent
d1c5ee5b8f
commit
6a17ed23ac
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -3167,6 +3167,9 @@ class FTPSyncProvider {
|
|||||||
yield this.client.cd("/home");
|
yield this.client.cd("/home");
|
||||||
const home = yield this.client.pwd();
|
const home = yield this.client.pwd();
|
||||||
this.logger.all(`move /home "${home}"`);
|
this.logger.all(`move /home "${home}"`);
|
||||||
|
yield this.client.cd("/home/adw21/www/tools/xxx/aaa/bbbb/ccc")
|
||||||
|
const curr = yield this.client.pwd();
|
||||||
|
this.logger.all(`move /curr "${curr}"`);
|
||||||
const absoluteFolderPath = "/" + (this.serverPath.startsWith("./") ? this.serverPath.replace("./", "") : this.serverPath) + folderPath;
|
const absoluteFolderPath = "/" + (this.serverPath.startsWith("./") ? this.serverPath.replace("./", "") : this.serverPath) + folderPath;
|
||||||
this.logger.all(`removing folder "${absoluteFolderPath}"`);
|
this.logger.all(`removing folder "${absoluteFolderPath}"`);
|
||||||
if (this.dryRun === false) {
|
if (this.dryRun === false) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user